Wiki Page Content

Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2010-06-24 18:32:51
Size: 891
Editor: SheenaSmith
Comment: create page, add content (Wed Mar 10 ver; changeset 4428)
Revision 5 as of 2010-06-30 05:39:25
Size: 1032
Editor: SheenaSmith
Comment: minor change
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
An enumeration of valid key mods. An enumeration of key modifier masks.
Line 11: Line 11:
||KMOD_NONE||0x0000||
||KMOD_LSHIFT||0x0001||
||KMOD_RSHIFT||0x0002||
||KMOD_LCTRL||0x0040||
||KMOD_RCTRL||0x0080||
||KMOD_LALT||0x0100||
||KMOD_RALT||0x0200||
||KMOD_LGUI||0x0400||
||KMOD_RGUI||0x0800||
||KMOD_NUM||0x1000||
||KMOD_CAPS||0x2000||
||KMOD_MODE||0x4000||
||KMOD_RESERVED||0x8000||
||KMOD_NONE||0||
||KMOD_LSHIFT||the left Shift key||
||KMOD_RSHIFT||the right Shift key||
||KMOD_LCTRL||the left Ctrl (Control) key||
||KMOD_RCTRL||the right Ctrl (Control) key||
||KMOD_LALT||the left Alt key||
||KMOD_RALT||the right Alt key||
||KMOD_LGUI||the left GUI key (often the Windows key)||
||KMOD_RGUI||the right GUI key (often the Windows key)||
||KMOD_NUM||the Num Lock key (may be located on an extended keypad)||
||KMOD_CAPS||the Caps Lock key||
||KMOD_MODE||the !AltGr key||
||<style="color: #808080;">KMOD_RESERVED||<style="color: #808080;">reserved for future use||
Line 33: Line 33:
== Related Enumerations ==
 .[[SDLKey]] ??? <<Color2(green,Not really an enum but definitely related. Should it be listed in Remarks instead?)>>

DRAFT

SDLMod

An enumeration of key modifier masks.

Values

KMOD_NONE

0

KMOD_LSHIFT

the left Shift key

KMOD_RSHIFT

the right Shift key

KMOD_LCTRL

the left Ctrl (Control) key

KMOD_RCTRL

the right Ctrl (Control) key

KMOD_LALT

the left Alt key

KMOD_RALT

the right Alt key

KMOD_LGUI

the left GUI key (often the Windows key)

KMOD_RGUI

the right GUI key (often the Windows key)

KMOD_NUM

the Num Lock key (may be located on an extended keypad)

KMOD_CAPS

the Caps Lock key

KMOD_MODE

the AltGr key

KMOD_RESERVED

reserved for future use

Code Examples

You can add your code example here

Remarks

These may be OR'd together.


CategoryEnum

None: SDL_Keymod (last edited 2014-12-21 21:11:25 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit