#line 1547 "/home/ubuntu/felix/src/packages/sdl.fdoc" //#define SDL_DEFAULT_REPEAT_INTERVAL 30 //#define SDL_DEFAULT_REPEAT_DELAY 500 //#define SDL_ALL_HOTKEYS 0xFFFFFFFF //#define _SDL_keyboard_h open module SDL_keyboard_h { requires package "sdl2"; /** * \brief The SDL keysym structure, used in key events. */ typedef struct SDL_Keysym { SDL_Scancode scancode; /**< SDL physical key code - see ::SDL_Scancode for details */ SDL_Keycode sym; /**< SDL virtual key code - see ::SDL_Keycode for details */ uint16 mod; /**< current key modifiers */ uint32 unicode; /**< \deprecated use SDL_TextInputEvent instead */ } SDL_Keysym; /* /* //TYPE ALIASES typedef _struct_SDL_keysym = SDL_keysym; */ //PROCEDURES proc SDL_SetModState: SDLMod; //FUNCTIONS fun SDL_EnableKeyRepeat: int * int -> int; fun SDL_EnableUNICODE: int -> int; fun SDL_GetKeyName: SDLKey -> &char; fun SDL_GetKeyState: &int -> &uint8; fun SDL_GetModState: 1 -> SDLMod; */ }