Questions about disabling key repeat for a keycode or a keysym

박성진 sj76.park at samsung.com
Tue Apr 19 09:54:35 UTC 2016


Dear Ran,
thank you for your answer. :)

Plz kindly provide more details about it.
We have defined some key symbols for built-in keys in mobile handset
and would like to disable repeat for them.

Thanks and regards,
Sung-Jin Park

------- Original Message -------
Sender : Ran Benita<ran234 at gmail.com> 
Date   : 2016-04-19 18:46 (GMT+09:00)
Title  : Re: Questions about disabling key repeat for a keycode or a keysym

The value returned by `xkb_keymap_key_repeats()` is determined by the
keymap. In xkeyboard-config, it is "calculated" automatically by a
mechanism called "interprets" in the "compat" section, but it can also
be set directly for a given key in the "symbols" section. I can provide
more details if you want.

So to change whether a key repeats at all or not, at least as far as
xkbcommon goes, you need to modify the keymap (i.e. xkeyboard-config).

Ran

<p> </p><p> </p>


More information about the wayland-devel mailing list