[PATCH v3] Input: keyboard - add device tree bindings for simple key matrixes

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Jan 4 03:29:30 EST 2012


On Tue, Jan 03, 2012 at 08:22:21AM -0800, Simon Glass wrote:
> Can the Linux key codes fit in 8 bits?

That depends on your point of view.

If you hack on X, then the answer is yes and you ignore the squeels of
your users when certain key presses get misinterpreted.  (The Psion LX
platform, otherwise known as the Netbook Pro, suffered with this problem.)

If you are a kernel hacker, the answer is no, because key codes currently
go all the way to 0x300.


More information about the devicetree-discuss mailing list