svn commit: r360126 - head/sys/dev/evdev

Vladimir Kondratyev vladimir at kondratyev.su
Mon Apr 20 19:14:24 UTC 2020


On 20.04.2020 19:39, Justin Hibbits wrote:
> But I'm curious, why not attach to sysmouse(4) and kbdmux(4)?  What
> breakage does that cause?  I could maybe see not attaching to
> sysmouse(4) by default, if the protocol isn't expressive enough, but
> kbdmux(4) should be sufficient.
>
> - Justin

kbdmux(4) is pretty good for standard 102-104-keys keyboards found at
common desktops.

But it does not work that good with some laptop ones.

There are no "Flight mode on/off", "Touchpad on/off" e.t.c. events
defined in AT-keyset but they exist in evdev-keyset.

Unfortunately, we do not support keymap uploading in our drivers yet to
make utilization of this advantage easy

but IMO its better to switch to direct key-event reporting earlier
rather than later.



More information about the svn-src-all mailing list