mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
DS3/DS4: fix battery LED update
This commit is contained in:
parent
dbb03ae2d7
commit
3e7e077fad
@ -590,6 +590,7 @@ void ds3_pad_handler::apply_pad_data(const std::shared_ptr<PadDevice>& device, c
|
||||
if (dev->last_battery_level != dev->battery_level)
|
||||
{
|
||||
dev->new_output_data = true;
|
||||
dev->last_battery_level = dev->battery_level;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -894,6 +894,7 @@ void ds4_pad_handler::apply_pad_data(const std::shared_ptr<PadDevice>& device, c
|
||||
config->colorG.set(combined_color & 0xff);
|
||||
config->colorB.set(0);
|
||||
ds4_dev->new_output_data = true;
|
||||
ds4_dev->last_battery_level = ds4_dev->battery_level;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user