X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/a4b84140e3c9ae6f8739d72621581c5673606847..d9de6545faee2e375a98f43e373dda9f3418b14b:/aseg/keyboard.c?ds=sidebyside diff --git a/aseg/keyboard.c b/aseg/keyboard.c index 1a8fb2a..3cd2278 100644 --- a/aseg/keyboard.c +++ b/aseg/keyboard.c @@ -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,10 @@ 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" }; const unsigned char convert_table[] = {