Auto key repeat in wayland.

Daniel Stone daniel at fooishbar.org
Sun Mar 17 23:08:35 PDT 2013


Hi,

On 18 March 2013 01:47, Yichao Yu <yyc1992 at gmail.com> wrote:

> On Sun, Mar 17, 2013 at 8:51 PM, Scott Moreau <oreaus at gmail.com> wrote:>
> by wayland developers that each toolkit should implement this feature
> > if they would like to have it. My position is that the key repeat
>
> And the decision was all toolkits/programs written without using a
> toolkit ALL need to "agree on where to retrieve that (key repeat
> configuration) from"??? Shouldn't that "where" be the compositor??


Yes, wl_keyboard should send events to clients giving them the repeat delay
and rate.


> OT: That patch seems to have a set of hard coded non-repeat keys.
> Isn't this setting (which key should be repeat) part of xkb? (Anyway,
> since the X server can figure that out from keyboard layout, whatever
> backend wayland use shouldn't have any problem on that.....)
>

Yeah, use xkb_keymap_key_repeats() instead.

Cheers,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130318/674c563b/attachment.html>


More information about the wayland-devel mailing list