Commit dbbc725f5e1ca247144e6974227cb4122ec50c2e

Cacodemon345 2021-05-19T14:25:48

Remove WSCONS mouse scaling

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/src/core/openbsd/SDL_wscons_mouse.c b/src/core/openbsd/SDL_wscons_mouse.c
index 4df927b..da8e9e2 100644
--- a/src/core/openbsd/SDL_wscons_mouse.c
+++ b/src/core/openbsd/SDL_wscons_mouse.c
@@ -103,12 +103,12 @@ void updateMouse(SDL_WSCONS_mouse_input_data* inputData)
                 break;
             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;
                 }
             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;
                 }
             case WSCONS_EVENT_MOUSE_DELTA_W: