src/video/ataricommon/SDL_biosevents.c
changeset 305 9c6613983e85
parent 297 f6ffac90895c
child 769 b8d311d90021
     1.1 --- a/src/video/ataricommon/SDL_biosevents.c	Sun Mar 10 03:25:47 2002 +0000
     1.2 +++ b/src/video/ataricommon/SDL_biosevents.c	Sun Mar 10 03:33:59 2002 +0000
     1.3 @@ -41,7 +41,7 @@
     1.4  #include "SDL_events_c.h"
     1.5  
     1.6  #include "SDL_atarikeys.h"
     1.7 -#include "SDL_xbiosmouseevents_c.h"
     1.8 +#include "SDL_xbiosevents_c.h"
     1.9  
    1.10  /* To save state of keyboard */
    1.11  #define ATARIBIOS_MAXKEYS 128
    1.12 @@ -104,7 +104,7 @@
    1.13  	keymap[SCANCODE_LEFTALT] = SDLK_LALT;
    1.14  	keymap[SCANCODE_CAPSLOCK] = SDLK_CAPSLOCK;
    1.15  
    1.16 -	AtariXbios_InstallMouseVector();
    1.17 +	SDL_AtariXbios_InstallVectors(ATARI_XBIOS_MOUSEEVENTS|ATARI_XBIOS_JOYSTICKEVENTS);
    1.18  }
    1.19  
    1.20  void AtariBios_PumpEvents(_THIS)
    1.21 @@ -142,7 +142,7 @@
    1.22  			SDL_PrivateKeyboard(SDL_RELEASED, TranslateKey(i, bios_currentascii[i], &keysym));
    1.23  	}
    1.24  
    1.25 -	AtariXbios_PostMouseEvents(this);
    1.26 +	SDL_AtariXbios_PostMouseEvents(this);
    1.27  
    1.28  	/* Will be previous table */
    1.29  	memcpy(bios_previouskeyboard, bios_currentkeyboard, ATARIBIOS_MAXKEYS);
    1.30 @@ -183,5 +183,5 @@
    1.31  
    1.32  void AtariBios_ShutdownEvents(void)
    1.33  {
    1.34 -	AtariXbios_RestoreMouseVector();
    1.35 +	SDL_AtariXbios_RestoreVectors();
    1.36  }