PCem

view src/plat-keyboard.h @ 154:d0d530adce12

Initial port to Linux (using Allegro). 64-bit fixes. Some changes to aid portability. A few other tweaks.
author TomW
date Thu Sep 04 21:07:24 2014 +0100
parents 457f666b38c1
children
line source
1 #ifdef __cplusplus
2 extern "C" {
3 #endif
4 void keyboard_init();
5 void keyboard_close();
6 void keyboard_poll_host();
7 extern int pcem_key[272];
8 extern int rawinputkey[272];
10 #ifndef __unix
11 #define KEY_LCONTROL 0x1d
12 #define KEY_RCONTROL (0x1d | 0x80)
13 #define KEY_END (0x4f | 0x80)
14 #endif
16 #ifdef __cplusplus
17 }
18 #endif