mapping keys to functions



is it possible to get an integer from a key press ?  are there any
standard integers for common keys ?  like enter, arrowup ?

working on a game and want the user to be able to map keys to functions
using an array.  seems like the keys are enumerated.

matt



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]