nefarius / DsHidMini

Virtual HID Mini-user-mode-driver for Sony DualShock 3 Controllers
https://docs.nefarius.at/projects/DsHidMini/
BSD 3-Clause "New" or "Revised" License
1.2k stars 53 forks source link

LEDs are not updated when hot-reloading to battery level mode while wireless #349

Open Kanuan opened 5 months ago

Kanuan commented 5 months ago

The logic used to set the LEDs in battery level mode only occurs when there is a change to the battery level, meaning that hot-reloading won't trigger an update and the LEDs continue in their last set value.

image

Kanuan commented 5 months ago

I'm thinking on what to do regarding this. The easiest solution would be setting the battery state to an "invalid" value to force the current logic on occurring, but this does not seems like a solution