This commit is contained in:
kalaposfos13 2025-06-19 21:54:31 +02:00
parent f4653d40cf
commit 32edcd4301
2 changed files with 12 additions and 13 deletions

View File

@ -3,8 +3,8 @@
#include <cmath>
#include "common/types.h"
#include "common/assert.h"
#include "common/types.h"
#include "input/controller.h"
#include "input_mouse.h"
@ -85,8 +85,7 @@ void EmulateGyro(GameController* controller, u32 interval) {
Uint32 MousePolling(void* param, Uint32 id, Uint32 interval) {
auto* controller = (GameController*)param;
switch (mouse_mode)
{
switch (mouse_mode) {
case MouseMode::Joystick:
EmulateJoystick(controller, interval);
break;