diff options
Diffstat (limited to 'include/xkbcommon/xkbcommon.h')
-rw-r--r-- | include/xkbcommon/xkbcommon.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/xkbcommon/xkbcommon.h b/include/xkbcommon/xkbcommon.h index 4c148d5..31d0dcf 100644 --- a/include/xkbcommon/xkbcommon.h +++ b/include/xkbcommon/xkbcommon.h @@ -367,6 +367,12 @@ xkb_group_index_t xkb_key_num_groups(struct xkb_keymap *keymap, xkb_keycode_t key); /** + * Returns 1 if the key should repeat, or 0 otherwise. + */ +int +xkb_key_repeats(struct xkb_keymap *keymap, xkb_keycode_t key); + +/** * Returns the number of LEDs in the given map. */ xkb_led_index_t |