diff options
author | emersion <contact@emersion.fr> | 2017-12-08 17:06:31 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-12-08 17:06:31 +0100 |
commit | 2c6e52c164cfd19bac642d3507fb8584a0201845 (patch) | |
tree | 2c8fa9f677ce61dcd3ebe34918ac5c652fb8d04c /include/wlr | |
parent | a3c0f9781073a29c020d8f5c992b8019264dc219 (diff) |
Add docs for wlr_keyboard_set_repeat_info
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_keyboard.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_keyboard.h b/include/wlr/types/wlr_keyboard.h index c259189d..450cd473 100644 --- a/include/wlr/types/wlr_keyboard.h +++ b/include/wlr/types/wlr_keyboard.h @@ -80,6 +80,10 @@ struct wlr_event_keyboard_key { void wlr_keyboard_set_keymap(struct wlr_keyboard *kb, struct xkb_keymap *keymap); +/** + * Sets the keyboard repeat info. `rate` is in key repeats/second and delay is + * in milliseconds. + */ void wlr_keyboard_set_repeat_info(struct wlr_keyboard *kb, int32_t rate, int32_t delay); void wlr_keyboard_led_update(struct wlr_keyboard *keyboard, uint32_t leds); |