mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 22:55:33 +00:00
Remove WSCONS mouse scaling
This commit is contained in:
parent
2aa14b3806
commit
dbbc725f5e
|
@ -103,12 +103,12 @@ void updateMouse(SDL_WSCONS_mouse_input_data* inputData)
|
||||||
break;
|
break;
|
||||||
case WSCONS_EVENT_MOUSE_DELTA_X:
|
case WSCONS_EVENT_MOUSE_DELTA_X:
|
||||||
{
|
{
|
||||||
SDL_SendMouseMotion(mouse->focus, mouse->mouseID, 1, events[i].value * 2, 0);
|
SDL_SendMouseMotion(mouse->focus, mouse->mouseID, 1, events[i].value, 0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case WSCONS_EVENT_MOUSE_DELTA_Y:
|
case WSCONS_EVENT_MOUSE_DELTA_Y:
|
||||||
{
|
{
|
||||||
SDL_SendMouseMotion(mouse->focus, mouse->mouseID, 1, 0, -events[i].value * 2);
|
SDL_SendMouseMotion(mouse->focus, mouse->mouseID, 1, 0, -events[i].value);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case WSCONS_EVENT_MOUSE_DELTA_W:
|
case WSCONS_EVENT_MOUSE_DELTA_W:
|
||||||
|
|
Loading…
Reference in a new issue