mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-07-06 01:55:53 +00:00
Minor cleanup in CDolphinController
Former-commit-id: 69c35e4308f5fb79a8213e951df5294cd247d4d2
This commit is contained in:
parent
d0f0f7088e
commit
0f995cbf7e
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user