Atrinik Client  4.0
Data Structures | Macros | Typedefs
keybind.h File Reference

Go to the source code of this file.

Data Structures

struct  keybind_struct


#define FILE_KEYBIND   "settings/keys.dat"
#define KEY_REPEAT_TIME   (35)
#define KEY_REPEAT_TIME_INIT   (175)
#define KEY_IS_MODIFIER(_key)   ((_key) >= SDLK_NUMLOCK && (_key) <= SDLK_COMPOSE)


typedef struct keybind_struct keybind_struct

Detailed Description

Keybindings header file.

Definition in file keybind.h.

Macro Definition Documentation

#define FILE_KEYBIND   "settings/keys.dat"

Where keybindings are saved.

Definition at line 34 of file keybind.h.

#define KEY_IS_MODIFIER (   _key)    ((_key) >= SDLK_NUMLOCK && (_key) <= SDLK_COMPOSE)

Check whether the specified key is a modifier key.

Definition at line 58 of file keybind.h.

#define KEY_REPEAT_TIME   (35)

How quickly the key repeats.

Definition at line 54 of file keybind.h.

#define KEY_REPEAT_TIME_INIT   (175)

Ticks that must pass before the key begins repeating.

Definition at line 56 of file keybind.h.

Typedef Documentation

One keybind.