2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-14 06:06:11 +00:00

Add initial rumble support, use modified SDL branch to support all GC controller rumble modes

This commit is contained in:
2022-02-22 01:12:15 -08:00
parent c679c2e0f8
commit 40669f4dc9
8 changed files with 99 additions and 58 deletions

View File

@@ -152,11 +152,11 @@ public:
// if (smashAdapter.get() == device)
// smashAdapter.reset();
// }
void SetMotorState(EIOPort port, EMotorState state) {
// TODO aurora
}
void SetMotorState(EIOPort port, EMotorState state);
void ControlAllMotors(const std::array<EMotorState, 4>& states) {
// TODO aurora
for (u32 i = 0; i <= size_t(EIOPort::Three); ++i ) {
SetMotorState(EIOPort(i), states[i]);
}
}
/* This is where the game thread enters */