]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg/keyboard.c
fixed merge
[netwatch.git] / aseg / keyboard.c
index 1a8fb2aee426678808e7b71b9bdb1ee0071635ef..4b84b4f11ed48ced8ddb9c160a813d87b2b95b8e 100644 (file)
@@ -4,7 +4,7 @@
 static unsigned char kbd_inj_buffer[128];
 static int kbd_inj_start = 0;
 static int kbd_inj_end = 0;
-int kbd_mode = 2;
+int kbd_mode = 1;
 
 static const char scancodes2[][8] = {
        ['a'] = "\x1c\xf0\x1c",
@@ -101,6 +101,14 @@ static const char scancodes2[][8] = {
        ['>'] = "\x12\x49\xf0\x49\xf0\x12",
        ['/'] = "\x4a\xf0\x4a",
        ['?'] = "\x12\x4a\xf0\x4a\xf0\x12",
+       ['\n'] = "\x5a\xf0\x5a",
+       ['\t'] = "\x0d\xf0\x0d",
+       ['\b'] = "\x66\xf0\x66",
+       [' '] = "\x29\xf0\x29",
+        [0x82] = "\xE0\x75\xE0\xF0\x75",
+        [0x83] = "\xE0\x72\xE0\xF0\x72",
+        [0x84] = "\xE0\x6B\xE0\xF0\x6B",
+        [0x85] = "\xE0\x74\xE0\xF0\x74"
 };
 
 const unsigned char convert_table[] = {
This page took 0.027385 seconds and 4 git commands to generate.