Keymap implementation. More...
|struct keypress *||actions|
|struct keymap *||next|
Keymaps are defined in pref files and map onto the internal game keyset, which is roughly what you get if you have roguelike keys turned off.
We store keymaps by pairing triggers with actions; the trigger is a single keypress and the action is stored as a string of keypresses, terminated with a keypress with type == EVT_NONE.
XXX We should note when we read in keymaps that are "official game" keymaps and ones which are user-defined. Then we can avoid writing out official game ones and messing up everyone's pref files with a load of junk. Struct for a keymap.
|struct keypress* actions|
|struct keymap* next|