nefarius / DsHidMini

Virtual HID Mini-user-mode-driver for Sony DualShock 3 Controllers

Home Page:https://docs.nefarius.at/projects/DsHidMini/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bar Graph LED mode charging animation gets stuck if switching from Single LED mode on hot-reload

Kanuan opened this issue · comments

Bar graph LED mode charging animation progressively turns on all LEDs from 1 to 4 before resetting, meaning when it reachs LED 4 all leds before it will be ON too.

Single LED mode charging animation is similar, but it only keeps a single LED turned on, moving from 1 to 4 until resetting.

The issue

If switching from single LED mode to Bar Graph mode on a hot reload while the currently lit LED is NOT 1, then Bar Graph charging animation will continue from the currently lit LED until reaching LED 4 then get stuck there

Example

Switching from Single LED to Bar Graph while LED 2 was lit will make it so the bar graph gets stuck in [ ]-[X]-[X-[X]