sdl_keyboard

### Header File

The header file may include additional information sdl_keyboard.hrl

### Exports

getKeyState()

Args: none
Returns: A tuple continaing the state of each key(i.e. state of each Key)
C-API: Uint8 * SDL_GetKeyState(int *numkeys);

enableUNICODE(Bool)

Args: true | false
Returns: Previous Setting (true | False)
C-API: int SDL_EnableUNICODE(int enable);

enableKeyRepeat(Delay, Interval)

Args: Delay Interval
Returns: true | false (if failure)
C-API: int SDL_EnableKeyRepeat(int delay, int interval);

getKeyName(Key)

Args: SDLKey
Returns: A string
C-API: char * SDL_GetKeyName(SDLKey key);

getModState()

Args: none
Returns: KModState (see KMOD_* in sdl_keyboard.hrl)
C-API: SDLMod SDL_GetModState(void);

setModState(ModState)

Args: KModState (see KMOD_* in sdl_keyboard.hrl)
Returns: ok
C-API: void SDL_SetModState(SDLMod modstate);