Skip to content

Commit

Permalink
fix: check for rumble in rumble factory not LEDs (#810)
Browse files Browse the repository at this point in the history
  • Loading branch information
briaguya-ai authored Feb 4, 2025
1 parent 391988b commit b704048
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 b704048

Please sign in to comment.