Pyrogenesis trunk
|
Go to the source code of this file.
Enumerations | |
enum | { EXTRA_KEYS_BASE = SDL_NUM_SCANCODES , UNIFIED_SHIFT , UNIFIED_CTRL , UNIFIED_ALT , UNIFIED_SUPER , UNIFIED_LAST , MOUSE_BASE , MOUSE_LEFT = MOUSE_BASE + SDL_BUTTON_LEFT , MOUSE_MIDDLE = MOUSE_BASE + SDL_BUTTON_MIDDLE , MOUSE_RIGHT = MOUSE_BASE + SDL_BUTTON_RIGHT , MOUSE_WHEELUP = MOUSE_BASE + 4 , MOUSE_WHEELDOWN = MOUSE_BASE + 5 , MOUSE_X1 = MOUSE_BASE + SDL_BUTTON_X1 + 2 , MOUSE_X2 = MOUSE_BASE + SDL_BUTTON_X2 + 2 , MOUSE_LAST } |
Functions | |
SDL_Scancode | FindScancode (const CStr8 &keyname) |
CStr8 | FindScancodeName (SDL_Scancode scancode) |
CStr8 | FindKeyName (SDL_Scancode scancode) |
anonymous enum |
CStr8 FindKeyName | ( | SDL_Scancode | scancode | ) |
SDL_Scancode FindScancode | ( | const CStr8 & | keyname | ) |
CStr8 FindScancodeName | ( | SDL_Scancode | scancode | ) |