[kbd] NR_KEYS value

Alexey Gladkov gladkov.alexey at gmail.com
Sat Jan 2 23:55:53 UTC 2010


I think that the value of the macro NR_KEYS in kernel much behind the
times. Now there are many keyboards with a lot of keys (notebooks,
media keyboard, etc).

include/linux/keyboard.h:#define NR_KEYS 256

First way is simple: increase NR_KEYS.
Second way is much more harder: create a sysctl value to define NR_KEYS.

I don't really understand how best to fix it.

Rgrds, legion

More information about the kbd mailing list