Colobot
|
Key-related macros and enums. More...
#include <SDL_keysym.h>
Go to the source code of this file.
Macros | |
#define | KEY(x) SDLK_ ## x |
#define | KEY_MOD(x) KMOD_ ## x |
#define | VIRTUAL_KMOD(x) VIRTUAL_KMOD_ ## x |
#define | VIRTUAL_JOY(num) (SDLK_LAST + 200 + num) |
Enumerations | |
enum | VirtualKmod { VIRTUAL_KMOD_CTRL = SDLK_LAST + 100, VIRTUAL_KMOD_SHIFT = SDLK_LAST + 101, VIRTUAL_KMOD_ALT = SDLK_LAST + 102, VIRTUAL_KMOD_META = SDLK_LAST + 103 } |
Virtual key codes generated on kmod presses. More... |
Variables | |
const unsigned int | KEY_INVALID = SDLK_LAST + 1000 |
Special value for invalid key bindings. |
Key-related macros and enums.
enum VirtualKmod |