Keyboard now uses raw input. Should fix international keyboard. Based on patch from Battler.

This commit is contained in:
TomW 2014-07-11 20:35:37 +01:00
commit c7ce01085c
6 changed files with 239 additions and 130 deletions

View file

@ -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