mirror of
https://github.com/izzy2lost/libultraship.git
synced 2026-06-19 01:16:13 -07:00
fix: check for rumble in rumble factory not LEDs (#810)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user