Skip to content

Commit

Permalink
fix: check for rumble in rumble factory not LEDs
Browse files Browse the repository at this point in the history
  • Loading branch information
briaguya-ai committed Feb 4, 2025
1 parent e641b37 commit a2efb74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ std::shared_ptr<ControllerRumbleMapping> RumbleMappingFactory::CreateRumbleMappi
for (auto [instanceId, gamepad] :
Context::GetInstance()->GetControlDeck()->GetConnectedPhysicalDeviceManager()->GetConnectedSDLGamepadsForPort(
portIndex)) {
if (!SDL_GameControllerHasLED(gamepad)) {
if (!SDL_GameControllerHasRumble(gamepad)) {
continue;
}

Expand Down

0 comments on commit a2efb74

Please sign in to comment.