wip2
This commit is contained in:
parent
ea5f3f601c
commit
9e07c85027
|
@ -77,10 +77,13 @@ ECL_EXPORT void FrameAdvance(MyFrameInfo* f)
|
|||
joymousecounter(port);
|
||||
break;
|
||||
case CONTROLLER_MOUSE:
|
||||
setmousestate(port, AXIS_HORIZONTAL, controller->MouseX - last_mouse_x[port], MOUSE_RELATIVE);
|
||||
setmousestate(port, AXIS_VERTICAL, controller->MouseY - last_mouse_y[port], MOUSE_RELATIVE);
|
||||
mouse_delta[port][AXIS_HORIZONTAL] = controller->MouseX - last_mouse_x[port];
|
||||
mouse_delta[port][AXIS_VERTICAL] = controller->MouseY - last_mouse_y[port];
|
||||
break;
|
||||
}
|
||||
|
||||
mouse_deltanoreset[port][0] = 1;
|
||||
mouse_deltanoreset[port][1] = 1;
|
||||
}
|
||||
|
||||
for (int i = 0; i < KEY_COUNT; i++)
|
||||
|
|
|
@ -39,6 +39,8 @@ extern int retro_max_diwlastword;
|
|||
extern int cd32_pad_enabled[NORMAL_JPORTS];
|
||||
extern int joybutton[MAX_JPORTS];
|
||||
extern int joydir[MAX_JPORTS];
|
||||
extern uae_s16 mouse_delta[MAX_JPORTS][4];
|
||||
extern uae_s16 mouse_deltanoreset[MAX_JPORTS][4];
|
||||
|
||||
extern int umain(int argc, char **argv);
|
||||
extern int m68k_go(int may_quit, int resume);
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 79fa9cd5a067713a4e5e51472b9bca1f7e499bc8
|
||||
Subproject commit 2f943b3bd507608dbbea1798d69b1017ba899698
|
Loading…
Reference in New Issue