This is my take on yet another LED controller for Trimui Smart Pro, focused on performance.
I got tired of seeing the other alternatives out there taking around ~4-5% of a CPU core, which I consider unacceptable just to switch up some dumb lights. Even more so that most are written in C. This one takes around 0.6% of a CPU core (0% most of the time, depending on the effect you choose). And I know it can be optimized further...
On the other hand, since I wrote this for myself, it has a few limitations:
- Tested only on TSP: It could work on Trimui Brick but since there are some hardware differences, you should expect some LEDs to not light up.
- Knulli release only: It can and will work on any OS, but the released service *.sh script is specific to Knulli. But you can easily adapt it.
- Download a release
- Unzip and copy to
/userdata/system/
. You should have folders named /userdata/system/services and /userdata/system/trimui_sharp_led - Modify
trimui_sharp_led.ini
- Go to
System Settings > Services
, disable all other LED services, enable the service TRIMUI_SHARP_LED, reboot (?)
Left or Right sticks (can be configured separately) :
- rainbow: spinning color wheel
- battery: show remaining battery percentage in a circle
- nexus: spins randomly 3 LEDs
- wipe: fills the circle back and forth
Middle:
- rainbow
- battery