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.

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



Other Threads

1. Listview with Array Adapter - How to Change Item Data in onClick after Text Filter

I have a need to change the data in my underlying array when the user
clicks on that item in the Listview.  I need this to work even when
the user has done a text filter.  I know how to get the text of the
clicked entry but I can't figure out how to change that text.  Any
ideas?

-- 

2. Apply Alphabetical Filters on listViewApply Alphabetical Filters on listView

Hi..

i need to create a list view that display same functionality as
Contact App. I need to have a scroller through which i can traverse
the list alphabetically. To achieve this i am following an example
from API demos "com.example.android.apis.view.List1.java".  It is
using a textfilter. When i implement this functionality on a static
list view => it is working fine. But when i try this on a dynamic
listview=> it is not working.

Plz help...

-- 

3. newbie question

4. Get binary data from external device to Droid

5. Get Custom Binary Data on Phone - Best Implementation?

6. about library projects

7. J'ai pas trouv茅 le chemin syst em/lib