diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-06-03 08:15:20 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-06-03 08:15:20 +0200 |
commit | 6891fda411a17e4ee3c555c52239e11c4d2bd1e6 (patch) | |
tree | e5e1689b2633291a49bffa52dcaaa1ac94fe822c | |
parent | eccf664c7e54e9064bead66febc189b9dc94e049 (diff) | |
download | abaos-6891fda411a17e4ee3c555c52239e11c4d2bd1e6.tar.gz abaos-6891fda411a17e4ee3c555c52239e11c4d2bd1e6.tar.bz2 |
added some more key mappings
-rw-r--r-- | src/keyboard.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index d971f8d..ba2835d 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -116,10 +116,10 @@ static char scancode_map[4][128] = { 0, 0, '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '-', '=', 0, 0, 'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', - 'o', 'p', 0, 0, '\n', 0, 'a', 's', - 'd', 'f', 'g', 'h', 'j', 'k', 'l', 0, - 0, 0, 0, 0, 'z', 'x', 'c', 'v', - 'b', 'n', 'm', 0, 0, 0, 0, 0, + 'o', 'p', '[', ']', '\n', 0, 'a', 's', + 'd', 'f', 'g', 'h', 'j', 'k', 'l', ';', + '\'', '`', 0, '\\', 'z', 'x', 'c', 'v', + 'b', 'n', 'm', ',', '.', '/', 0, 0, 0, ' ', 0, 0, 0, 0, 0, 0, 0, 0, 0 , 0 , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -134,10 +134,10 @@ static char scancode_map[4][128] = { 0, 0, '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '_', '+', 0, 0, 'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', - 'O', 'P', 0, 0, '\n', 0, 'A', 'S', - 'D', 'F', 'G', 'H', 'J', 'K', 'L', 0, - 0, 0, 0, 0, 'Z', 'X', 'C', 'V', - 'B', 'N', 'M', 0, 0, 0, 0, 0, + 'O', 'P', '{', '}', '\n', 0, 'A', 'S', + 'D', 'F', 'G', 'H', 'J', 'K', 'L', ':', + '"', '~', 0, '|', 'Z', 'X', 'C', 'V', + 'B', 'N', 'M', '<', '>', '?', 0, 0, 0, ' ', 0, 0, 0, 0, 0, 0, 0, 0, 0 , 0 , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |