summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 6713398e..660cdc9c 100644
--- a/include/sway/input/keyboard.h
+++ b/include/sway/input/keyboard.h
@@ -38,6 +38,11 @@ struct sway_keyboard {
38 struct sway_shortcut_state state_keysyms_raw; 38 struct sway_shortcut_state state_keysyms_raw;
39 struct sway_shortcut_state state_keycodes; 39 struct sway_shortcut_state state_keycodes;
40 struct sway_binding *held_binding; 40 struct sway_binding *held_binding;
41
42 struct wl_event_source *key_repeat_source;
43 struct sway_binding *repeat_binding;
44 int key_repeat_initial_delay; // first key repeat event delay, in ms
45 int key_repeat_step_delay; // subsequent repeat delay, in ms
41}; 46};
42 47
43struct sway_keyboard *sway_keyboard_create(struct sway_seat *seat, 48struct sway_keyboard *sway_keyboard_create(struct sway_seat *seat,