X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fkeybindings.h;h=085de9af4532447f156c9d8d8c05ccd620490ccc;hb=385ac8287af0e5e5b5ab0539b47cda9b8dcbec58;hp=9c2296584211b31f973b5dea7d587355db0b2a5d;hpb=e11aa749989942b66dfc4fd7ccb72c2c8e767332;p=plomrogue diff --git a/src/keybindings.h b/src/keybindings.h index 9c22965..085de9a 100644 --- a/src/keybindings.h +++ b/src/keybindings.h @@ -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 */ };