--- hatari/src/includes/ikbd.h 2019/04/01 07:09:43 1.1.1.2 +++ hatari/src/includes/ikbd.h 2019/04/01 07:10:01 1.1.1.3 @@ -13,10 +13,6 @@ typedef struct { } IKBD_COMMAND_PARAMS; /* Keyboard processor details */ -typedef struct { - int X,Y; /* Relative position of mouse */ - int PrevX,PrevY; /* Previous position */ -} REL_MOUSE; typedef struct { int X,Y; /* Position of mouse */ @@ -25,7 +21,8 @@ typedef struct { } ABS_MOUSE; typedef struct { - int DeltaX,DeltaY; /* XY mouse position delta after scale according to resoution */ + int dx, dy; /* Mouse delta to be added */ + int DeltaX,DeltaY; /* Final XY mouse position delta */ int XScale,YScale; /* Scale of mouse */ int XThreshold,YThreshold; /* Threshold */ unsigned char KeyCodeDeltaX,KeyCodeDeltaY; /* Delta X,Y for mouse keycode mode */ @@ -39,7 +36,6 @@ typedef struct { } JOY; typedef struct { - REL_MOUSE Rel; ABS_MOUSE Abs; MOUSE Mouse; JOY Joy;