summaryrefslogtreecommitdiffstats
path: root/include/sway/input
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-27 13:20:28 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-27 13:20:28 -0500
commiteea80e7276f49e5d07b22db071f3ab0b6f9ffe18 (patch)
tree539c9f313ae2d38123f654de63cd77bd462b80de /include/sway/input
parentbinding config (diff)
downloadsway-eea80e7276f49e5d07b22db071f3ab0b6f9ffe18.tar.gz
sway-eea80e7276f49e5d07b22db071f3ab0b6f9ffe18.tar.zst
sway-eea80e7276f49e5d07b22db071f3ab0b6f9ffe18.zip
keyboard translate keysyms
Diffstat (limited to 'include/sway/input')
-rw-r--r--include/sway/input/keyboard.h5
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 @@
3 3
4#include "sway/input/seat.h" 4#include "sway/input/seat.h"
5 5
6#define SWAY_KEYBOARD_PRESSED_KEYSYMS_CAP 32
7
6struct sway_keyboard { 8struct sway_keyboard {
7 struct sway_seat_device *seat_device; 9 struct sway_seat_device *seat_device;
8 10
@@ -10,6 +12,9 @@ struct sway_keyboard {
10 12
11 struct wl_listener keyboard_key; 13 struct wl_listener keyboard_key;
12 struct wl_listener keyboard_modifiers; 14 struct wl_listener keyboard_modifiers;
15
16 xkb_keysym_t pressed_keysyms_translated[SWAY_KEYBOARD_PRESSED_KEYSYMS_CAP];
17 xkb_keysym_t pressed_keysyms_raw[SWAY_KEYBOARD_PRESSED_KEYSYMS_CAP];
13}; 18};
14 19
15struct sway_keyboard *sway_keyboard_create(struct sway_seat *seat, 20struct sway_keyboard *sway_keyboard_create(struct sway_seat *seat,