src/video/ataricommon/SDL_ikbdinterrupt_s.h
changeset 305 9c6613983e85
parent 297 f6ffac90895c
child 769 b8d311d90021
     1.1 --- a/src/video/ataricommon/SDL_ikbdinterrupt_s.h	Sun Mar 10 03:25:47 2002 +0000
     1.2 +++ b/src/video/ataricommon/SDL_ikbdinterrupt_s.h	Sun Mar 10 03:33:59 2002 +0000
     1.3 @@ -38,13 +38,25 @@
     1.4  
     1.5  #include "SDL_types.h"
     1.6  
     1.7 +/* Const */
     1.8 +
     1.9 +#define IKBD_JOY_UP		(1<<0)
    1.10 +#define IKBD_JOY_DOWN	(1<<1)
    1.11 +#define IKBD_JOY_LEFT	(1<<2)
    1.12 +#define IKBD_JOY_RIGHT	(1<<3)
    1.13 +#define IKBD_JOY_FIRE	(1<<7)
    1.14 +
    1.15  /* Variables */
    1.16  
    1.17  extern Uint8  SDL_AtariIkbd_keyboard[128];	/* Keyboard table */
    1.18 -extern Uint16 SDL_AtariIkbd_mouseb;	/* buttons */
    1.19 -extern Sint16 SDL_AtariIkbd_mousex;	/* X relative motion */
    1.20 -extern Sint16 SDL_AtariIkbd_mousey;	/* Y relative motion */
    1.21 +extern Uint16 SDL_AtariIkbd_mouseb;	/* Mouse on port 0, buttons */
    1.22 +extern Sint16 SDL_AtariIkbd_mousex;	/* Mouse X relative motion */
    1.23 +extern Sint16 SDL_AtariIkbd_mousey;	/* Mouse Y relative motion */
    1.24 +extern Uint16 SDL_AtariIkbd_joystick;	/* Joystick on port 1 */
    1.25  
    1.26 +extern Uint16 SDL_AtariIkbd_enabled;	/* For joystick driver to know
    1.27 +											if this is usable */
    1.28 +										
    1.29  /* Functions */ 
    1.30  
    1.31  extern void SDL_AtariIkbdInstall(void);