src/video/gem/SDL_gemevents.c
changeset 1420 2405517b5eab
parent 1412 a8181c4040b8
child 1662 782fd950bd46
child 1857 417f2af2bd52
     1.1 --- a/src/video/gem/SDL_gemevents.c	Thu Feb 23 04:16:08 2006 +0000
     1.2 +++ b/src/video/gem/SDL_gemevents.c	Thu Feb 23 21:51:10 2006 +0000
     1.3 @@ -39,6 +39,7 @@
     1.4  #include "../ataricommon/SDL_atarikeys.h"	/* for keyboard scancodes */
     1.5  #include "../ataricommon/SDL_atarievents_c.h"
     1.6  #include "../ataricommon/SDL_xbiosevents_c.h"
     1.7 +#include "../ataricommon/SDL_ataridevmouse_c.h"
     1.8  
     1.9  /* Defines */
    1.10  
    1.11 @@ -376,7 +377,11 @@
    1.12  
    1.13  	/* Mouse motion ? */
    1.14  	if (GEM_mouse_relative) {
    1.15 -		SDL_AtariXbios_PostMouseEvents(this, SDL_FALSE);
    1.16 +		if (GEM_usedevmouse) {
    1.17 +			SDL_AtariDevMouse_PostMouseEvents(this, SDL_FALSE);
    1.18 +		} else {
    1.19 +			SDL_AtariXbios_PostMouseEvents(this, SDL_FALSE);
    1.20 +		}
    1.21  	} else {
    1.22  		if ((prevmousex!=mx) || (prevmousey!=my)) {
    1.23  			int posx, posy;