[PATCH 02/15] keymap: Fix braces
Sascha Hauer
s.hauer at pengutronix.de
Wed Jan 13 07:37:23 PST 2016
KEY_LEFTBRACE is the '[' key on an english keyboard and KEY_RIGHTBRACE
is the ']' key.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
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 b9fd6a2..eb3d4cf 100644
--- a/drivers/input/keymap.c
+++ b/drivers/input/keymap.c
@@ -31,8 +31,8 @@ uint8_t keycode_bb_keys[NR_KEYS] = {
[KEY_I] = 'i',
[KEY_O] = 'o',
[KEY_P] = 'p',
- [KEY_LEFTBRACE] = '(',
- [KEY_RIGHTBRACE] = ')',
+ [KEY_LEFTBRACE] = '[',
+ [KEY_RIGHTBRACE] = ']',
[KEY_ENTER] = '\n',
[KEY_LEFTCTRL] = 0xff,
[KEY_A] = 'a',
--
2.6.4
More information about the barebox
mailing list