Minor cleanup in CDolphinController

Former-commit-id: 69c35e4308f5fb79a8213e951df5294cd247d4d2
This commit is contained in:
Phillip Stephens 2023-11-10 14:21:09 -08:00
parent d0f0f7088e
commit 0f995cbf7e
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#include "Kyoto/Input/CDolphinController.hpp" #include "Kyoto/Input/CDolphinController.hpp"
#include "Kyoto/Alloc/CMemory.hpp"
#include "Kyoto/Math/CMath.hpp" #include <Kyoto/Alloc/CMemory.hpp>
#include <dolphin/gba.h> #include <dolphin/gba.h>
#include <dolphin/os/OSSerial.h> #include <dolphin/os/OSSerial.h>
@ -120,6 +120,8 @@ void CDolphinController::ProcessAxis(int controller, EJoyAxis axis) {
case kJA_RightY: case kJA_RightY:
axisValue = x4_status[controller].substickY; axisValue = x4_status[controller].substickY;
break; break;
default:
break;
} }
float absolute = axisValue * maxAxisValue; float absolute = axisValue * maxAxisValue;