Any objections to SDL_GetKeyState() return NULL instead of “unknown
key”? I’d prefer the user can define their own “unknown key” string
(without having to do a strcasecmp()).
m.–
Programmer "I wrote a song about dental floss,
Loki Entertainment Software but did anyone’s teeth get cleaner?" http://lokigames.com/~briareos/ - Frank Zappa, re: the PMRC
Any objections to SDL_GetKeyState() return NULL instead of “unknown
key”? I’d prefer the user can define their own “unknown key” string
(without having to do a strcasecmp()).
You mean SDL_GetKeyName()?
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec
m.On Tue, Dec 07, 1999 at 04:13:07PM -0800, Sam Lantinga wrote:
Any objections to SDL_GetKeyState() return NULL instead of “unknown
key”? I’d prefer the user can define their own “unknown key” string
(without having to do a strcasecmp()).
You mean SDL_GetKeyName()?
–
Programmer "I wrote a song about dental floss,
Loki Entertainment Software but did anyone’s teeth get cleaner?" http://lokigames.com/~briareos/ - Frank Zappa, re: the PMRC
Any objections to SDL_GetKeyState() return NULL instead of “unknown
key”? I’d prefer the user can define their own “unknown key” string
(without having to do a strcasecmp()).
m.
–
Programmer "I wrote a song about dental floss,
Loki Entertainment Software but did anyone’s teeth get cleaner?" http://lokigames.com/~briareos/ - Frank Zappa, re: the PMRC
Hey, is it just me or should SDL_GetKeyState stuff SDLK_LAST into
num_keys, or what? 256 seems wrong, especially since I’m trying to get
the numeric keypad (which starts at 256!!).
Why oh why does Sam not come in to work earlier?
m.–
Programmer "I wrote a song about dental floss,
Loki Entertainment Software but did anyone’s teeth get cleaner?" http://lokigames.com/~briareos/ - Frank Zappa, re: the PMRC
Hey, is it just me or should SDL_GetKeyState stuff SDLK_LAST into
num_keys, or what? 256 seems wrong, especially since I’m trying to get
the numeric keypad (which starts at 256!!).
Why oh why does Sam not come in to work earlier?
grin It’s fixed now.
New CVS snapshot being uploaded…
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec