From 0f995cbf7e63a605a8ebcae8678b510c1933cef8 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Fri, 10 Nov 2023 14:21:09 -0800 Subject: [PATCH] Minor cleanup in CDolphinController Former-commit-id: 69c35e4308f5fb79a8213e951df5294cd247d4d2 --- src/Kyoto/Input/CDolphinController.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Kyoto/Input/CDolphinController.cpp b/src/Kyoto/Input/CDolphinController.cpp index 69197969..661825dc 100644 --- a/src/Kyoto/Input/CDolphinController.cpp +++ b/src/Kyoto/Input/CDolphinController.cpp @@ -1,6 +1,6 @@ #include "Kyoto/Input/CDolphinController.hpp" -#include "Kyoto/Alloc/CMemory.hpp" -#include "Kyoto/Math/CMath.hpp" + +#include #include #include @@ -120,6 +120,8 @@ void CDolphinController::ProcessAxis(int controller, EJoyAxis axis) { case kJA_RightY: axisValue = x4_status[controller].substickY; break; + default: + break; } float absolute = axisValue * maxAxisValue;