I pieced together a new led driver that shows colors on the trackball. Everything seems to work as advertised and it should work on any ROM.
It's being pulled into CM, so if you run that, you could probably wait for the next release if you want.
Here's a ground up rewrite of the notification and attention LEDs. Everything works now much smoother and closer to factory behavior, except there's color!
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.
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.
