Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD with a gaming keyboard



On Wed, Aug 09, 2017 at 09:17:19AM -0700, Brian Buhrow wrote:
> 	Hello.  It looks like the ukbd driver only allows 8 modifier keys on
> the keyboard, although the comment says it's 32 keys.
> sys/dev/usb/ukbd.c:87 says: #define MAXMOD 8         /* max 32 */
> Assuming the comment is correct, it looks like a change from 8 to 16 would
> allow for up to 64 modifier keys.
> A quick trip through this file suggests that this is a pretty harmless
> change and might just fix your problem.
> So, I suggest changing the above line to:
> #define MAXMOD 16         /* max 64 */

I doubt that alone will work.  I've been sitting on a ukbd(4) rototill
that addresses this issue that I need to work on getting committable.

	Jonathan Kollasch


Home | Main Index | Thread Index | Old Index