syBR::InputCore Namespace Reference

core input classes More...


Classes

class  ActionManager
 Base input system class. More...
class  InputSystem
 Base input system class. More...
class  KeyboardHandler
 Base keyboard handler class. More...
class  MouseHandler
 Base mouse handler class. More...

Enumerations

enum  KeyCode {
  KC_ESCAPE, KC_RETURN, KC_LCONTROL, KC_RCONTROL,
  KC_LSHIFT, KC_RSHIFT, KC_LMENU, KC_RMENU,
  KC_LWIN, KC_RWIN, KC_APPS, KC_TAB,
  KC_F1, KC_F2, KC_F3, KC_F4,
  KC_F5, KC_F6, KC_F7, KC_F8,
  KC_F9, KC_F10, KC_F11, KC_F12,
  KC_F13, KC_F14, KC_F15, KC_SCROLLLOCK,
  KC_SYSRQ, KC_PAUSE, KC_NUMLOCK, KC_NUMPAD0,
  KC_NUMPAD1, KC_NUMPAD2, KC_NUMPAD3, KC_NUMPAD4,
  KC_NUMPAD5, KC_NUMPAD6, KC_NUMPAD7, KC_NUMPAD8,
  KC_NUMPAD9, KC_NUMPADMULTIPLY, KC_NUMPADSUBTRACT, KC_NUMPADADD,
  KC_DIVIDE, KC_NUMPADCOMMA, KC_NUMPADDECIMAL, KC_NUMPADEQUALS,
  KC_NUMPADENTER, KC_ABNT_C2, KC_1, KC_2,
  KC_3, KC_4, KC_5, KC_6,
  KC_7, KC_8, KC_9, KC_0,
  KC_MINUS, KC_EQUALS, KC_LBRACKET, KC_RBRACKET,
  KC_SEMICOLON, KC_APOSTROPHE, KC_GRAVE, KC_BACKSLASH,
  KC_COMMA, KC_PERIOD, KC_SLASH, KC_AT,
  KC_COLON, KC_UNDERLINE, KC_OEM_102, KC_CAPITAL,
  KC_INSERT, KC_DELETE, KC_HOME, KC_END,
  KC_PGUP, KC_PGDOWN, KC_UP, KC_DOWN,
  KC_LEFT, KC_RIGHT, KC_BACKSPACE, KC_SPACE,
  KC_Q, KC_W, KC_E, KC_R,
  KC_T, KC_Y, KC_U, KC_I,
  KC_O, KC_P, KC_A, KC_S,
  KC_D, KC_F, KC_G, KC_H,
  KC_J, KC_K, KC_L, KC_Z,
  KC_X, KC_C, KC_V, KC_B,
  KC_N, KC_M, KC_STOP, KC_PREVTRACK,
  KC_NEXTTRACK, KC_MUTE, KC_CALCULATOR, KC_PLAYPAUSE,
  KC_MEDIASELECT, KC_MEDIASTOP, KC_VOLUMEDOWN, KC_VOLUMEUP,
  KC_MYCOMPUTER, KC_MAIL, KC_WEBHOME, KC_WEBSEARCH,
  KC_WEBFAVORITES, KC_WEBREFRESH, KC_WEBSTOP, KC_WEBFORWARD,
  KC_WEBBACK, KC_POWER, KC_SLEEP, KC_WAKE,
  KC_KANA, KC_ABNT_C1, KC_CONVERT, KC_NOCONVERT,
  KC_YEN, KC_KANJI, KC_AX, KC_UNLABELED
}
enum  MouseButton {
  MBTN_LEFT, MBTN_RIGHT, MBTN_MIDDLE, MBTN_BUTTON3,
  MBTN_BUTTON4, MBTN_BUTTON5, MBTN_BUTTON6, MBTN_BUTTON7
}


Detailed Description

core input classes

Enumeration Type Documentation

enum syBR::InputCore::KeyCode

Keyboard key code

Enumerator:
KC_ESCAPE  Escape key.
KC_RETURN  Return / Enter key (not on numeric keypad).
KC_LCONTROL  Left control key.
KC_RCONTROL  Right control key.
KC_LSHIFT  Left shift key.
KC_RSHIFT  Right shift key.
KC_LMENU  Left menu/alt key.
KC_RMENU  Right menu/alt key.
KC_LWIN  Left Windows key.
KC_RWIN  Right Windows key.
KC_APPS  AppMenu key.
KC_TAB  Tabulation key.
KC_F1  "F1" key
KC_F2  "F2" key
KC_F3  "F3" key
KC_F4  "F4" key
KC_F5  "F5" key
KC_F6  "F6" key
KC_F7  "F7" key
KC_F8  "F8" key
KC_F9  "F9" key
KC_F10  "F10" key
KC_F11  "F11" key
KC_F12  "F12" key
KC_F13  "F13" key (NEC PC98)
KC_F14  "F14" key (NEC PC98)
KC_F15  "F15" key (NEC PC98)
KC_SCROLLLOCK  Scroll lock key.
KC_SYSRQ  Sys rq / Print screen key.
KC_PAUSE  Pause key.
KC_NUMLOCK  Numeric lock key.
KC_NUMPAD0  "0" key (on numeric keypad)
KC_NUMPAD1  "1" key (on numeric keypad)
KC_NUMPAD2  "2" key (on numeric keypad)
KC_NUMPAD3  "3" key (on numeric keypad)
KC_NUMPAD4  "4" key (on numeric keypad)
KC_NUMPAD5  "5" key (on numeric keypad)
KC_NUMPAD6  "6" key (on numeric keypad)
KC_NUMPAD7  "7" key (on numeric keypad)
KC_NUMPAD8  "8" key (on numeric keypad)
KC_NUMPAD9  "9" key (on numeric keypad)
KC_NUMPADMULTIPLY  "*" key (on numeric keypad)
KC_NUMPADSUBTRACT  "-" key (on numeric keypad)
KC_NUMPADADD  "+" key (on numeric keypad)
KC_DIVIDE  "/" key (on numeric keypad)
KC_NUMPADCOMMA  "," key (on numeric keypad) (NEC PC98)
KC_NUMPADDECIMAL  "." key (on numeric keypad)
KC_NUMPADEQUALS  "=" key (on numeric pad) (NEC PC98)
KC_NUMPADENTER  Enter / Return key (on numeric pad).
KC_ABNT_C2  "." key (on numeric pad) (Portugese / Brazilian keyboards)
KC_1  "1" key
KC_2  "2" key
KC_3  "3" key
KC_4  "4" key
KC_5  "5" key
KC_6  "6" key
KC_7  "7" key
KC_8  "8" key
KC_9  "9" key
KC_0  "0" key
KC_MINUS  "-" key
KC_EQUALS  "=" key
KC_LBRACKET  "[" key
KC_RBRACKET  "]" key
KC_SEMICOLON  ";" key
KC_APOSTROPHE  "'" key
KC_GRAVE  Accent key.
KC_BACKSLASH  "\" key
KC_COMMA  "," key
KC_PERIOD  "." key
KC_SLASH  "/" key
KC_AT  "@" key (NEC PC98)
KC_COLON  ":" key (NEC PC98)
KC_UNDERLINE  "_" key (NEC PC98)
KC_OEM_102  "<", ">" or "|" key (UK/Germany keyboards)
KC_CAPITAL  Capital/Caps lock key.
KC_INSERT  Insert key (on arrow keypad).
KC_DELETE  Delete key (on arrow keypad).
KC_HOME  Home key (on arrow keypad).
KC_END  End key (on arrow keypad).
KC_PGUP  Page up key (on arrow keypad).
KC_PGDOWN  Page down key (on arrow keypad).
KC_UP  Up arrow key (on arrow keypad).
KC_DOWN  Down arrow key (on arrow keypad).
KC_LEFT  Left arrow key (on arrow keypad).
KC_RIGHT  Right arrow key (on arrow keypad).
KC_BACKSPACE  Backspace key.
KC_SPACE  Space key.
KC_Q  "q" key
KC_W  "w" key
KC_E  "e" key
KC_R  "r" key
KC_T  "t" key
KC_Y  "y" key
KC_U  "u" key
KC_I  "i" key
KC_O  "o" key
KC_P  "p" key
KC_A  "a" key
KC_S  "s" key
KC_D  "d" key
KC_F  "f" key
KC_G  "g" key
KC_H  "h" key
KC_J  "j" key
KC_K  "k" key
KC_L  "l" key
KC_Z  "z" key
KC_X  "x" key
KC_C  "c" key
KC_V  "v" key
KC_B  "b" key
KC_N  "n" key
KC_M  "m" key
KC_STOP  Stop key (NEC PC98).
KC_PREVTRACK  Previous track key.
KC_NEXTTRACK  Next track key.
KC_MUTE  Mute key.
KC_CALCULATOR  Calculator key.
KC_PLAYPAUSE  Play / Pause key.
KC_MEDIASELECT  Media select key.
KC_MEDIASTOP  Media stop key.
KC_VOLUMEDOWN  Volume - key.
KC_VOLUMEUP  Volume + key.
KC_MYCOMPUTER  My Computer key.
KC_MAIL  Mail key.
KC_WEBHOME  Web home key.
KC_WEBSEARCH  Web search key.
KC_WEBFAVORITES  Web favorites key.
KC_WEBREFRESH  Web refresh key.
KC_WEBSTOP  Web stop key.
KC_WEBFORWARD  Web forward key.
KC_WEBBACK  Web back key.
KC_POWER  System power key.
KC_SLEEP  System sleep key.
KC_WAKE  System wake key.
KC_KANA  Kana key (Japanese keyboards).
KC_ABNT_C1  ABNT C1 key (Portugese / Brazilian keyboards).
KC_CONVERT  Convert key (Japanese keyboards).
KC_NOCONVERT  No convert key (Japanese keyboards).
KC_YEN  Yen key (Japanese keyboards).
KC_KANJI  Kanji key (Japanese keyboards).
KC_AX  AX key.
KC_UNLABELED  Unlabeled key (J3l00).

enum syBR::InputCore::MouseButton

Mouse button

Enumerator:
MBTN_LEFT  Left button.
MBTN_RIGHT  Right button.
MBTN_MIDDLE  Middle button.
MBTN_BUTTON3  Third button.
MBTN_BUTTON4  Fourth button.
MBTN_BUTTON5  Fifth button.
MBTN_BUTTON6  Sixth button.
MBTN_BUTTON7  Seventh button.


Copyright © 2008 by Sebastien Frippiat
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.
Last modified Tue Dec 30 17:57:34 2008