[Bug 222646] ukbd(4): support Consumer Control based multimedia keys

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 28 07:42:34 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222646

--- Comment #1 from Hans Petter Selasky <hselasky at FreeBSD.org> ---
Hi,

I think it is clever to add a check:

if (data != 0) ->>>

if (sc->sc_ndata.keycode[0] == KEY_ERROR && data != 0)

So that you don't override valid key input.

Or else scan the keycode array and place data last.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-usb mailing list