mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
input: Add a few more keyboard keycodes
The slash and * are missing from the keycode tables. Add these so that these keypad keys can be used. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
2e5513bda0
commit
77c7f0459f
@ -43,7 +43,7 @@ static const uchar kbd_plain_xlate[] = {
|
|||||||
'8', '9', '-', '4', '5', '6', '+', '1', /* 0x40 - 0x4f */
|
'8', '9', '-', '4', '5', '6', '+', '1', /* 0x40 - 0x4f */
|
||||||
'2', '3', '0', '.', 0xff, 0xff, 0xff, 0xff,
|
'2', '3', '0', '.', 0xff, 0xff, 0xff, 0xff,
|
||||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x50 - 0x5F */
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x50 - 0x5F */
|
||||||
'\r', 0xff, 0xff
|
'\r', 0xff, '/', '*',
|
||||||
};
|
};
|
||||||
|
|
||||||
static unsigned char kbd_shift_xlate[] = {
|
static unsigned char kbd_shift_xlate[] = {
|
||||||
@ -59,7 +59,7 @@ static unsigned char kbd_shift_xlate[] = {
|
|||||||
'8', '9', '-', '4', '5', '6', '+', '1', /* 0x40 - 0x4f */
|
'8', '9', '-', '4', '5', '6', '+', '1', /* 0x40 - 0x4f */
|
||||||
'2', '3', '0', '.', 0xff, 0xff, 0xff, 0xff, 0xff,
|
'2', '3', '0', '.', 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x50 - 0x5F */
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x50 - 0x5F */
|
||||||
'\r', 0xff, 0xff
|
'\r', 0xff, '/', '*',
|
||||||
};
|
};
|
||||||
|
|
||||||
static unsigned char kbd_ctrl_xlate[] = {
|
static unsigned char kbd_ctrl_xlate[] = {
|
||||||
@ -75,7 +75,7 @@ static unsigned char kbd_ctrl_xlate[] = {
|
|||||||
'8', '9', '-', '4', '5', '6', '+', '1', /* 0x40 - 0x4f */
|
'8', '9', '-', '4', '5', '6', '+', '1', /* 0x40 - 0x4f */
|
||||||
'2', '3', '0', '.', 0xff, 0xff, 0xff, 0xff,
|
'2', '3', '0', '.', 0xff, 0xff, 0xff, 0xff,
|
||||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x50 - 0x5F */
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x50 - 0x5F */
|
||||||
'\r', 0xff, 0xff
|
'\r', 0xff, '/', '*',
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user