Rev 3672 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3672 | Rev 3786 | ||
---|---|---|---|
Line 57... | Line 57... | ||
57 | */ |
57 | */ |
58 | int kbd_process_no_fb(keybuffer_t *keybuffer, int scan_code) |
58 | int kbd_process_no_fb(keybuffer_t *keybuffer, int scan_code) |
59 | { |
59 | { |
60 | static unsigned long buf = 0; |
60 | static unsigned long buf = 0; |
61 | static int count = 0; |
61 | static int count = 0; |
- | 62 | ||
- | 63 | if (scan_code == '\r') |
|
- | 64 | scan_code = '\n'; |
|
62 | 65 | ||
63 | if(scan_code == 0x7e) { |
66 | if (scan_code == 0x7e) { |
64 | switch (buf) { |
67 | switch (buf) { |
65 | case KEY_F5: |
68 | case KEY_F5: |
66 | keybuffer_push(keybuffer,FUNCTION_KEYS | 5); |
69 | keybuffer_push(keybuffer,FUNCTION_KEYS | 5); |
67 | buf = count = 0; |
70 | buf = count = 0; |
68 | return 1; |
71 | return 1; |