Citation: |
Colors shown are up to the apps that send the notifications. So far I know that email and sms are green, and twidroid is light blue.
USB connection is a lavender color as is Handcent. |
Citation: |
Fixed the pinkness, and the odd behavior of the light turning itself back off. Still working on a better way to handle the screen being on. |
Citation: |
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. 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. |