diff 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
line wrap: on
line diff
--- a/src/video/ataricommon/SDL_atarievents_c.h	Sat Sep 16 17:13:41 2006 +0000
+++ b/src/video/ataricommon/SDL_atarievents_c.h	Wed Sep 20 19:47:09 2006 +0000
@@ -35,13 +35,32 @@
 /* Hidden "this" pointer for the video functions */
 #define _THIS	SDL_VideoDevice *this
 
+#define ATARIBIOS_MAXKEYS 128
+
+/* Special keys state */
+#ifndef K_RSHIFT
+enum {
+    K_RSHIFT=0,
+    K_LSHIFT,
+    K_CTRL,
+    K_ALT,
+    K_CAPSLOCK,
+    K_CLRHOME,
+    K_INSERT
+};
+#endif
+
 extern void (*Atari_ShutdownEvents) (void);
 
 extern void Atari_InitOSKeymap(_THIS);
 extern void Atari_PumpEvents(_THIS);
 
+extern void SDL_Atari_InitInternalKeymap(_THIS);
+
 /* Atari to Unicode charset translation table */
 extern Uint16 SDL_AtariToUnicodeTable[256];
+SDL_keysym *SDL_Atari_TranslateKey(int scancode, SDL_keysym *keysym,
+    SDL_bool pressed);
 
 #endif /* _SDL_ATARI_EVENTS_H_ */
 /* vi: set ts=4 sw=4 expandtab: */