comparison src/video/ataricommon/SDL_atarievents_c.h @ 2032:ddf89133aebc

Started work to update for 1.3 api
author Patrice Mandin <patmandin@gmail.com>
date Wed, 20 Sep 2006 21:22:08 +0000
parents d774e9d7c2a8
children adf732f1f016
comparison
equal deleted inserted replaced
2031:f54073d86c82 2032:ddf89133aebc
30 #ifndef _SDL_ATARI_EVENTS_H_ 30 #ifndef _SDL_ATARI_EVENTS_H_
31 #define _SDL_ATARI_EVENTS_H_ 31 #define _SDL_ATARI_EVENTS_H_
32 32
33 #include "../SDL_sysvideo.h" 33 #include "../SDL_sysvideo.h"
34 34
35 /* Hidden "this" pointer for the video functions */
36 #define _THIS SDL_VideoDevice *this
37
38 #define ATARIBIOS_MAXKEYS 128 35 #define ATARIBIOS_MAXKEYS 128
39 36
40 /* Special keys state */ 37 /* Special keys state */
41 #ifndef K_RSHIFT 38 #ifndef K_RSHIFT
42 enum { 39 enum {
48 K_CLRHOME, 45 K_CLRHOME,
49 K_INSERT 46 K_INSERT
50 }; 47 };
51 #endif 48 #endif
52 49
53 extern void (*Atari_ShutdownEvents) (void); 50 extern void (*SDL_Atari_ShutdownEvents) (void);
54 51
55 extern void Atari_InitOSKeymap(_THIS); 52 extern void SDL_Atari_PumpEvents(_THIS);
56 extern void Atari_PumpEvents(_THIS);
57 53
58 extern void SDL_Atari_InitInternalKeymap(_THIS); 54 extern void SDL_Atari_InitInternalKeymap(_THIS);
59 55
60 /* Atari to Unicode charset translation table */ 56 /* Atari to Unicode charset translation table */
61 extern Uint16 SDL_AtariToUnicodeTable[256]; 57 extern Uint16 SDL_AtariToUnicodeTable[256];