fix broken constants kn linuxfb keyboard driver

This commit is contained in:
Jorj Bauer 2018-02-07 13:57:50 -05:00
parent d8b01ac7ad
commit fb670a1d36
1 changed files with 16 additions and 16 deletions

View File

@ -29,7 +29,7 @@ LinuxKeyboard::~LinuxKeyboard()
static uint8_t keymap[] = { static uint8_t keymap[] = {
0, // keycode 0 doesn't exist 0, // keycode 0 doesn't exist
ESC, PK_ESC,
'1', '1',
'2', '2',
'3', '3',
@ -42,8 +42,8 @@ static uint8_t keymap[] = {
'0', '0',
'-', '-',
'=', '=',
DEL, PK_DEL,
TAB, PK_TAB,
'q', 'q',
'w', 'w',
'e', 'e',
@ -57,7 +57,7 @@ static uint8_t keymap[] = {
'[', '[',
']', ']',
13, 13,
_CTRL, PK_CTRL,
'a', 'a',
's', 's',
'd', 'd',
@ -70,7 +70,7 @@ static uint8_t keymap[] = {
';', ';',
'\'', '\'',
'`', '`',
LSHFT, PK_LSHFT,
'\\', '\\',
'z', 'z',
'x', 'x',
@ -82,11 +82,11 @@ static uint8_t keymap[] = {
',', ',',
'.', '.',
'/', '/',
RSHFT, PK_RSHFT,
'*', '*',
LA, PK_LA,
' ', ' ',
LOCK, PK_LOCK,
0, // F1, 0, // F1,
0, // F2, 0, // F2,
0, // F3, 0, // F3,
@ -124,22 +124,22 @@ static uint8_t keymap[] = {
0, 0,
0, 0,
0, 0,
RET, // number pad enter? PK_RET, // number pad enter?
_CTRL, // Right control? PK_CTRL, // Right control?
'/', '/',
0, // prtscr 0, // prtscr
RA, PK_RA,
0, 0,
0, // HOME 0, // HOME
UARR, PK_UARR,
0, // PGUP 0, // PGUP
LARR, PK_LARR,
RARR, PK_RARR,
0, // END 0, // END
DARR, PK_DARR,
0, // PGDN 0, // PGDN
0, // INSERT 0, // INSERT
DEL, PK_DEL,
0, 0,
0, 0,
0, 0,