Mercurial > sdl-ios-xcode
comparison src/video/qnxgf/SDL_hiddi_keyboard.h @ 3139:7f684f249ec9
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 23 May 2009 22:41:08 +0000 |
parents | 7b3a09fb9c8b |
children | f7b03b6838cb |
comparison
equal
deleted
inserted
replaced
3125:d71d8ceda8b3 | 3139:7f684f249ec9 |
---|---|
30 #include <inttypes.h> | 30 #include <inttypes.h> |
31 | 31 |
32 /* PS/2 and USB keyboards are generating this packet */ | 32 /* PS/2 and USB keyboards are generating this packet */ |
33 typedef struct key_packet | 33 typedef struct key_packet |
34 { | 34 { |
35 uint8_t modifiers; | 35 uint8_t modifiers; |
36 uint8_t data; | 36 uint8_t data; |
37 uint8_t codes[6]; | 37 uint8_t codes[6]; |
38 } key_packet; | 38 } key_packet; |
39 | 39 |
40 /* Key modifier codes */ | 40 /* Key modifier codes */ |
41 #define HIDDI_MKEY_LEFT_CTRL 0x00000001 | 41 #define HIDDI_MKEY_LEFT_CTRL 0x00000001 |
42 #define HIDDI_MKEY_LEFT_SHIFT 0x00000002 | 42 #define HIDDI_MKEY_LEFT_SHIFT 0x00000002 |