mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-02-01 21:34:41 +01:00
input: fix ds4 led/rumble in pad settings
This commit is contained in:
parent
719e7a9d56
commit
35c92723c7
|
|
@ -198,7 +198,7 @@ u32 ds4_pad_handler::get_battery_level(const std::string& padId)
|
|||
void ds4_pad_handler::SetPadData(const std::string& padId, u8 player_id, u8 large_motor, u8 small_motor, s32 r, s32 g, s32 b, bool /*player_led*/, bool battery_led, u32 battery_led_brightness)
|
||||
{
|
||||
std::shared_ptr<DS4Device> device = get_hid_device(padId);
|
||||
if (!device || !device->hidDevice || !device->config)
|
||||
if (!device || !device->hidDevice)
|
||||
return;
|
||||
|
||||
// Set the device's motor speeds to our requested values 0-255
|
||||
|
|
|
|||
Loading…
Reference in a new issue