Mercurial > sdl-ios-xcode
comparison src/video/ataricommon/SDL_atarievents_c.h @ 2030:d774e9d7c2a8
Forward keyboard reworking from 1.2
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Wed, 20 Sep 2006 19:47:09 +0000 |
parents | c121d94672cb |
children | ddf89133aebc |
comparison
equal
deleted
inserted
replaced
2029:8640d90b0406 | 2030:d774e9d7c2a8 |
---|---|
33 #include "../SDL_sysvideo.h" | 33 #include "../SDL_sysvideo.h" |
34 | 34 |
35 /* Hidden "this" pointer for the video functions */ | 35 /* Hidden "this" pointer for the video functions */ |
36 #define _THIS SDL_VideoDevice *this | 36 #define _THIS SDL_VideoDevice *this |
37 | 37 |
38 #define ATARIBIOS_MAXKEYS 128 | |
39 | |
40 /* Special keys state */ | |
41 #ifndef K_RSHIFT | |
42 enum { | |
43 K_RSHIFT=0, | |
44 K_LSHIFT, | |
45 K_CTRL, | |
46 K_ALT, | |
47 K_CAPSLOCK, | |
48 K_CLRHOME, | |
49 K_INSERT | |
50 }; | |
51 #endif | |
52 | |
38 extern void (*Atari_ShutdownEvents) (void); | 53 extern void (*Atari_ShutdownEvents) (void); |
39 | 54 |
40 extern void Atari_InitOSKeymap(_THIS); | 55 extern void Atari_InitOSKeymap(_THIS); |
41 extern void Atari_PumpEvents(_THIS); | 56 extern void Atari_PumpEvents(_THIS); |
42 | 57 |
58 extern void SDL_Atari_InitInternalKeymap(_THIS); | |
59 | |
43 /* Atari to Unicode charset translation table */ | 60 /* Atari to Unicode charset translation table */ |
44 extern Uint16 SDL_AtariToUnicodeTable[256]; | 61 extern Uint16 SDL_AtariToUnicodeTable[256]; |
62 SDL_keysym *SDL_Atari_TranslateKey(int scancode, SDL_keysym *keysym, | |
63 SDL_bool pressed); | |
45 | 64 |
46 #endif /* _SDL_ATARI_EVENTS_H_ */ | 65 #endif /* _SDL_ATARI_EVENTS_H_ */ |
47 /* vi: set ts=4 sw=4 expandtab: */ | 66 /* vi: set ts=4 sw=4 expandtab: */ |