How to lighten LED in key driver, when user press any KEY.

by linlone9 » Fri, 13 Mar 2009 01:43:05 GMT


Sponsored Links
 hi,

In G1 phone, when user press any KEY, the LED that be as backlight of "HOME"
KEY, will be lightened.
I check Android source codes, and want to know how to lighten the LED in key
driver, but, don't find any clue.
I have checked following source codes:
--------------------------------------
kernel/drivers/input/
kernel/drivers/leds/
---------------------------------------

My key question is that where in the codes of key driver, will call LED
driver to control LED on/off.

Thanks.

--~--~---------~--~----~------------~-------~--~----~