Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2017 07:42:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-usb@FreeBSD.org
Subject:   [Bug 222646] ukbd(4): support Consumer Control based multimedia keys
Message-ID:  <bug-222646-17-tKqpCPXqnf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222646-17@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222646-17@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222646

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

I think it is clever to add a check:

if (data !=3D 0) ->>>

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

So that you don't override valid key input.

Or else scan the keycode array and place data last.

--HPS

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222646-17-tKqpCPXqnf>