Mercurial > sdl-ios-xcode
comparison src/video/ataricommon/SDL_ikbdinterrupt_s.h @ 305:9c6613983e85
Atari port cleanups from Patrice
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 10 Mar 2002 03:33:59 +0000 |
parents | f6ffac90895c |
children | b8d311d90021 |
comparison
equal
deleted
inserted
replaced
304:ec53caed9fb2 | 305:9c6613983e85 |
---|---|
36 | 36 |
37 #include <mint/osbind.h> | 37 #include <mint/osbind.h> |
38 | 38 |
39 #include "SDL_types.h" | 39 #include "SDL_types.h" |
40 | 40 |
41 /* Const */ | |
42 | |
43 #define IKBD_JOY_UP (1<<0) | |
44 #define IKBD_JOY_DOWN (1<<1) | |
45 #define IKBD_JOY_LEFT (1<<2) | |
46 #define IKBD_JOY_RIGHT (1<<3) | |
47 #define IKBD_JOY_FIRE (1<<7) | |
48 | |
41 /* Variables */ | 49 /* Variables */ |
42 | 50 |
43 extern Uint8 SDL_AtariIkbd_keyboard[128]; /* Keyboard table */ | 51 extern Uint8 SDL_AtariIkbd_keyboard[128]; /* Keyboard table */ |
44 extern Uint16 SDL_AtariIkbd_mouseb; /* buttons */ | 52 extern Uint16 SDL_AtariIkbd_mouseb; /* Mouse on port 0, buttons */ |
45 extern Sint16 SDL_AtariIkbd_mousex; /* X relative motion */ | 53 extern Sint16 SDL_AtariIkbd_mousex; /* Mouse X relative motion */ |
46 extern Sint16 SDL_AtariIkbd_mousey; /* Y relative motion */ | 54 extern Sint16 SDL_AtariIkbd_mousey; /* Mouse Y relative motion */ |
55 extern Uint16 SDL_AtariIkbd_joystick; /* Joystick on port 1 */ | |
47 | 56 |
57 extern Uint16 SDL_AtariIkbd_enabled; /* For joystick driver to know | |
58 if this is usable */ | |
59 | |
48 /* Functions */ | 60 /* Functions */ |
49 | 61 |
50 extern void SDL_AtariIkbdInstall(void); | 62 extern void SDL_AtariIkbdInstall(void); |
51 extern void SDL_AtariIkbdUninstall(void); | 63 extern void SDL_AtariIkbdUninstall(void); |
52 | 64 |