[SDL] ALT keys in Windows

Drake Wilson drake at libcom.com
Sat Jun 18 16:30:30 PDT 2005


Quoth Jeff <j_post at pacbell.net>, on 2005-06-18 15:34:58 -0700:
>             if (event.key.keysym.mod == KMOD_LALT || event.key.keysym.mod == 
> KMOD_RALT)

Note that KMOD_NUM, KMOD_CAPS, and KMOD_MODE exist as well, so if you
have Num Lock, Caps Lock, (or Scroll Lock?) on, this will fail.

   ---> Drake Wilson

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20050618/eca69e1a/attachment-0008.pgp>


More information about the SDL mailing list