Kohi Game Engine
keymap Struct Reference

A keymap, which holds a list of keymap entries, each with a list of bindings. These are held in an internal stack, and override entries of the keymaps below it in the stack. More...

#include <keymap.h>

Data Fields

b8 overrides_all
 Indicates that all entries are overridden, even ones not defined (effectively blanking them out until this map is popped). More...
 
keymap_entry entries [KEYS_MAX_KEYS]
 An array of keymap entries, indexed by keycode for quick lookups. More...
 

Detailed Description

A keymap, which holds a list of keymap entries, each with a list of bindings. These are held in an internal stack, and override entries of the keymaps below it in the stack.

Field Documentation

◆ entries

An array of keymap entries, indexed by keycode for quick lookups.

◆ overrides_all

b8 overrides_all

Indicates that all entries are overridden, even ones not defined (effectively blanking them out until this map is popped).


The documentation for this struct was generated from the following file: