diff options
Diffstat (limited to 'src/keys.h')
| -rw-r--r-- | src/keys.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -4,11 +4,11 @@ #include <al/lib.h> // Expected behavior of modifiers: -// - Window keeps an internal state of all currently held modifiers. -// - On window focus enter, if modifier is held, send BUTTON_PRESSED event. -// - If a modifier was held on enter, it must still receive a BUTTON_RELEASED -// event when the key is released. -// - On window focus exit, send BUTTON_RELEASED for every active modifier. +// - Window keeps an internal state of currently held modifiers. +// - On window focus enter, if a modifier is held, send BUTTON_PRESSED event. +// - If a modifier was held on enter, it must still receive a BUTTON_RELEASED +// event when the key is released. +// - On window focus exit, send BUTTON_RELEASED for every held modifier. enum { STELA_MOD_NONE = 0, STELA_MOD_LCONTROL = 1, |