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",
['>'] = "\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[] = {