[PATCH 05/15] keymap: Add apostrophe, backslash and home

Sascha Hauer s.hauer at pengutronix.de
Wed Jan 13 07:37:26 PST 2016


Add some previously undefined keys.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/input/keymap.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/input/keymap.c b/drivers/input/keymap.c
index fdc04f7..73dd112 100644
--- a/drivers/input/keymap.c
+++ b/drivers/input/keymap.c
@@ -44,9 +44,9 @@ uint8_t keycode_bb_keys[NR_KEYS] = {
 	[KEY_K] =		'k',
 	[KEY_L] =		'l',
 	[KEY_SEMICOLON] =	';',
-	[KEY_APOSTROPHE] =	0xff,
+	[KEY_APOSTROPHE] =	'`',
 	[KEY_GRAVE] =		'^',
-	[KEY_BACKSLASH] =	0xff,
+	[KEY_BACKSLASH] =	'\\',
 	[KEY_Z] =		'z',
 	[KEY_X] =		'x',
 	[KEY_C] =		'c',
@@ -72,7 +72,7 @@ uint8_t keycode_bb_keys[NR_KEYS] = {
 	[KEY_KP0] =		'0',
 	[KEY_KPDOT] =		'.',
 	[KEY_KPENTER] =		'\n',
-	[KEY_HOME] =		0xff,
+	[KEY_HOME] =		BB_KEY_HOME,
 	[KEY_UP] =		BB_KEY_UP,
 	[KEY_PAGEUP] =		BB_KEY_PAGEUP,
 	[KEY_LEFT] =		BB_KEY_LEFT,
-- 
2.6.4




More information about the barebox mailing list