Keyboard now uses raw input. Should fix international keyboard. Based on patch from Battler.
This commit is contained in:
parent
b89e792f8f
commit
c7ce01085c
6 changed files with 239 additions and 130 deletions
|
|
@ -4,8 +4,9 @@ extern "C" {
|
|||
void keyboard_init();
|
||||
void keyboard_close();
|
||||
void keyboard_poll_host();
|
||||
int key[256];
|
||||
|
||||
int key[272];
|
||||
int rawinputkey[272];
|
||||
|
||||
#define KEY_LCONTROL 0x1d
|
||||
#define KEY_RCONTROL (0x1d | 0x80)
|
||||
#define KEY_END (0x4f | 0x80)
|
||||
|
|
@ -13,3 +14,4 @@ extern "C" {
|
|||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue