public inbox for kbd@lists.linux.dev
 help / color / mirror / Atom feed
* [kbd] NR_KEYS value
@ 2010-01-02 23:55 Alexey Gladkov
  2010-01-05  0:28 ` Mike Frysinger
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Gladkov @ 2010-01-02 23:55 UTC (permalink / raw)
  To: kbd

Greetings!

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-01-05  0:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-02 23:55 [kbd] NR_KEYS value Alexey Gladkov
2010-01-05  0:28 ` Mike Frysinger
2010-01-05  0:47   ` Alexey Gladkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox