diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-27 13:20:28 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-12-27 13:20:28 -0500 |
commit | eea80e7276f49e5d07b22db071f3ab0b6f9ffe18 (patch) | |
tree | 539c9f313ae2d38123f654de63cd77bd462b80de /include/sway | |
parent | ba69f06695c24f98a05d138a53ba130108ebce6f (diff) |
keyboard translate keysyms
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/input/keyboard.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/input/keyboard.h b/include/sway/input/keyboard.h index d9251f4c..0a5857f0 100644 --- a/include/sway/input/keyboard.h +++ b/include/sway/input/keyboard.h @@ -3,6 +3,8 @@ #include "sway/input/seat.h" +#define SWAY_KEYBOARD_PRESSED_KEYSYMS_CAP 32 + struct sway_keyboard { struct sway_seat_device *seat_device; @@ -10,6 +12,9 @@ struct sway_keyboard { struct wl_listener keyboard_key; struct wl_listener keyboard_modifiers; + + xkb_keysym_t pressed_keysyms_translated[SWAY_KEYBOARD_PRESSED_KEYSYMS_CAP]; + xkb_keysym_t pressed_keysyms_raw[SWAY_KEYBOARD_PRESSED_KEYSYMS_CAP]; }; struct sway_keyboard *sway_keyboard_create(struct sway_seat *seat, |