diff options
Diffstat (limited to 'src/window.h')
-rw-r--r-- | src/window.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h index 978278c..eff00ab 100644 --- a/src/window.h +++ b/src/window.h @@ -9,6 +9,7 @@ enum imv_event_type { IMV_EVENT_CLOSE, IMV_EVENT_RESIZE, IMV_EVENT_KEYBOARD, + IMV_EVENT_KEYBOARD_MODS, IMV_EVENT_MOUSE_MOTION, IMV_EVENT_MOUSE_BUTTON, IMV_EVENT_MOUSE_SCROLL, @@ -29,6 +30,11 @@ struct imv_event { bool pressed; } keyboard; struct { + int depressed; + int latched; + int locked; + } keyboard_mods; + struct { double x, y, dx, dy; } mouse_motion; struct { |