When using this program I noticed that when changing brightness quickly(ex: raise it two times and then lower it), the indicator(osd bar) would not reflect these changes(in case of the previous example it would raise when I lower the brightness). So I found out that the current brightness of the blight device does not update properly. Reloading the device current value solved this issue.
Another problem I found is that there was no way to change the brightness by a custom delta anymore(this was possible before), so I added some code that checks if the argument is signed or not and applies the changes(if there's no sign, then that means the user wants to set the brightness to that value).
LE: This PR fixes #68.
When using this program I noticed that when changing brightness quickly(ex: raise it two times and then lower it), the indicator(osd bar) would not reflect these changes(in case of the previous example it would raise when I lower the brightness). So I found out that the current brightness of the blight device does not update properly. Reloading the device current value solved this issue. Another problem I found is that there was no way to change the brightness by a custom delta anymore(this was possible before), so I added some code that checks if the argument is signed or not and applies the changes(if there's no sign, then that means the user wants to set the brightness to that value). LE: This PR fixes #68.