[MOD] Native trackball colors... Official!! [3-16]
For anyone who missed it, Google open sourced the official lights and sensor libs. Attached is the update.zip with official colorful LED lib. It's just about functionally identical to mine, but they have some better color mapping, and the white is finally white! Just flash from recovery and enjoy.
Special thanks go out to lilHermit, his app gave me a lot of insight into the LEDs, and metalhead8816 for helping me through some tough code, and Google for releasing the official code.
Root is required...
This is how it works:
- Screen on: incoming whatever - one white flash
- Screen off: notification - one white flash, then colored flash
- SMS, Gmail - green
- Missed call, twidroid - cyan
- Incoming call - rapid white flashing
- Incoming call while on bluetooth - rapid blue flashing
** Please read **
This file offers no customization because it's only an interface. What this file does is allow apps and the system to set the color and blink rate of the trackball and the trackball obeys.
Also, I cannot guarantee support for Desire roms. I know nothing about how the Desire is supposed to handle notifications. If HTC didn't try to do something fancy (read: stupid) with the notification code, then this will work as advertised. I have no plans to use or test this on a Desire ROM myself.
Attached is a real update.zip that I made myself. No waiting this time. Flash from recovery and let me know what you think.
Nexus One
CM6
Superuser 2.3.6.1
github.com/ChainsDD
Twitter:
ChainsDD
Like what I've done? Buy me a
Sunkist!!