| 1056 | } |
| 1057 | |
| 1058 | int |
| 1059 | process_keystroke( |
| 1060 | INPUT_RECORD *ir, |
| 1061 | boolean *valid, |
| 1062 | uchar numberpad, |
| 1063 | int portdebug) |
| 1064 | { |
| 1065 | int ch; |
| 1066 | |
| 1067 | #ifdef QWERTZ_SUPPORT |
| 1068 | if (gc.Cmd.swap_yz) |
| 1069 | numberpad |= 0x10; |
| 1070 | #endif |
| 1071 | ch = keyboard_handling.pProcessKeystroke( |
| 1072 | console.hConIn, ir, valid, numberpad, portdebug); |
| 1073 | #ifdef QWERTZ_SUPPORT |
| 1074 | numberpad &= ~0x10; |
| 1075 | #endif |
| 1076 | /* check for override */ |
| 1077 | if (ch && ch < MAX_OVERRIDES && key_overrides[ch]) |
| 1078 | ch = key_overrides[ch]; |
| 1079 | return ch; |
| 1080 | } |
| 1081 | |
| 1082 | int |
| 1083 | consoletty_kbhit(void) |
no outgoing calls
no test coverage detected