[PATCH 1/2] input: usb keyboard: fix BACKSPACE

Peter Mamonov pmamonov at gmail.com
Sat Feb 20 06:27:44 PST 2016


Signed-off-by: Peter Mamonov <pmamonov at gmail.com>
---
 drivers/input/keymap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/keymap.c b/drivers/input/keymap.c
index a07b3a8..79ca461 100644
--- a/drivers/input/keymap.c
+++ b/drivers/input/keymap.c
@@ -19,7 +19,7 @@ uint8_t keycode_bb_keys[NR_KEYS] = {
 	[KEY_0] =		'0',
 	[KEY_MINUS] =		'-',
 	[KEY_EQUAL] =		'=',
-	[KEY_BACKSPACE] =	0xff,
+	[KEY_BACKSPACE] =	8,
 	[KEY_TAB] =		'\t',
 	[KEY_Q] =		'q',
 	[KEY_W] =		'w',
@@ -101,7 +101,7 @@ uint8_t keycode_bb_shift_keys[NR_KEYS] = {
 	[KEY_0] =		')',
 	[KEY_MINUS] =		'_',
 	[KEY_EQUAL] =		'+',
-	[KEY_BACKSPACE] =	0xff,
+	[KEY_BACKSPACE] =	8,
 	[KEY_TAB] =		'\t',
 	[KEY_Q] =		'Q',
 	[KEY_W] =		'W',
-- 
2.1.4




More information about the barebox mailing list