rsjudka / intelligent-auto

41 stars 15 forks source link

add module support for brightness and quick view #29

Closed rsjudka closed 4 years ago

rsjudka commented 4 years ago

Laying the framework for supporting custom modules. The first two being the quick view (where for the time being will either be the volume slider or none) and the brightness slider.

In the future, I have hopes that modules can be dynamically added at runtime, where users can keep a library of whatever they need for their setup so ia can be suited for their needs. This will be especially helpful for the data tab where different cars might have different CAN interfaces and thus would need to be designed per user (or at least per car manufacturer lol).

For the x brightness module, I will also want to come back to it and use xlib to control the brightness instead of calling a command to do it. It would also probs be a good idea to extend the brightness modules to support "watching" the brightness so ia can adjust if brightness is changed externally.