[Bug Report] Setting speed from hardware on inverted speed slider shows up on the wrong side.

Description of Bug

While working on the EVGA Turing controller I noticed that after loading the speed value from the hardware it would show up on the wrong side from where it was set. This also shows up when opening the resize window and then canceling. This will alternate between both sides each time and will update the hardware.

Adding logging to the RGBcontroller shows that the values are correct and that this is a GUI bug:

Sent Speed: 0063
Sent Speed: 0064

image

Exit and restart:

....
Registering I2C interface: /dev/i2c-7
Registering I2C interface: /dev/i2c-5
Detecting I2C devices
Got Speed: 0064
Registering RGB controller: EVGA GeForce RTX 2080 XC ULTRA GAMING
Detecting HID devices
....

image

Hardware Configuration

MR !432 (merged) but may be related to other devices that read from the hardware with an inverted speed slider.