Kohi Game Engine
|
Represents an individual binding, containing the keybind type, modifiers, callback, potential user data. Doubles as a linked-list node, as keys can have multiple bindings associated with them on the same map. More...
#include <keymap.h>
Data Fields | |
keymap_entry_bind_type | type |
The keybind type (i.e. press, release, hold). Default: KEYMAP_BIND_TYPE_UNDEFINED. More... | |
keymap_modifier | modifiers |
Required modifiers, if any. Default: KEYMAP_MODIFIER_NONE_BIT. More... | |
PFN_keybind_callback | callback |
A function pointer to be invoked when this binding is triggered. More... | |
void * | user_data |
User data, if supplied. Otherwise 0. More... | |
struct keymap_binding * | next |
A pointer to the next binding in the linked list, or 0 if the tail. More... | |
Represents an individual binding, containing the keybind type, modifiers, callback, potential user data. Doubles as a linked-list node, as keys can have multiple bindings associated with them on the same map.
PFN_keybind_callback callback |
A function pointer to be invoked when this binding is triggered.
keymap_modifier modifiers |
Required modifiers, if any. Default: KEYMAP_MODIFIER_NONE_BIT.
struct keymap_binding* next |
A pointer to the next binding in the linked list, or 0 if the tail.
The keybind type (i.e. press, release, hold). Default: KEYMAP_BIND_TYPE_UNDEFINED.
void* user_data |
User data, if supplied. Otherwise 0.