home · contact · privacy
Finished applying new code formatting and documentation rules on main module.
[plomrogue] / src / keybindings.h
index 9c2296584211b31f973b5dea7d587355db0b2a5d..085de9af4532447f156c9d8d8c05ccd620490ccc 100644 (file)
@@ -23,12 +23,12 @@ struct KeyBinding
 
 
 
-/* Metadata for the keybindings plurality and their editing window. */
+/* Metadata used by the keybinding editing window. */
 struct KeysWinData
 {
-  uint16_t max;    /* ? */
-  char edit;       /* ? */
-  uint16_t select; /* ? */
+  uint16_t max;    /* index of last keybinding (= n of keybindings - 1) */
+  char edit;       /* 1 if currently editing a keybinding, else 0 */
+  uint16_t select; /* index of keybinding selected for editing */
 };