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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Peter Mamonov <pmamonov@xxxxxxxxx>
---
 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


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux