From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Tue, 3 Jan 2012 16:29:30 +0000 Subject: [PATCH v3] Input: keyboard - add device tree bindings for simple key matrixes In-Reply-To: References: <1325184146-3527-1-git-send-email-olof@lixom.net> <1325484557-27695-1-git-send-email-olof@lixom.net> <20120103154317.GA27061@quad.lixom.net> Message-ID: <20120103162929.GY2914@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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.