public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Changing the number of keys supported by the input subsystem
@ 2007-10-24 22:04 David Härdeman
  0 siblings, 0 replies; only message in thread
From: David Härdeman @ 2007-10-24 22:04 UTC (permalink / raw)
  To: linux-kernel; +Cc: dmitry.torokhov

Currently the IR input handling of drivers/media/dvb/ttpci/budget-ci.c 
requires a rc5_device module option which specifies the rc5 device code 
to listen to (or as an alternative, all devices). This means, among 
other things, that multiple remotes can't be used with different 
keymaps.

My idea was to drop the module parameter and allow all rc5 device and 
command combinations to be mapped using one keyboard map.

rc5 device codes are 5 bits, command codes are 6 bits, giving a total of 
2048 possible keycodes.

However, the input subsystem is currently limited to 512 entries. So my 
question is whether it would be possible to extend that and/or make the 
size of the keymap (the keybit member of struct input_dev) dynamic?

-- 
David Härdeman

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-24 22:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-24 22:04 Changing the number of keys supported by the input subsystem David Härdeman

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