Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
nonzeropossibility
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 26
Join Date: Mar 2010
Default [Q] Custom Key/Button Mapping ideas

Sorry for cross posting but I figured this is a relevant here as it is in the Vibrant section and not everyone from here checks there and vice versa.

I come from a G1 where the Dialer, the End Call, and the Camera all had dedicated buttons. I feel like the Captivate would be so much better if it had these. I'd like to develop an app or simply code something myself that we could flash as an update but I don't know where to start as I am not a developer though I wish I could be.

Pretty much this is how I would map everything:

Menu: Menu
(Long Press) = Dialer

Home: Home Screen
(Long Press) = Recent Applications

Back: Back
(Long Press) = End Call if making a call/Sleep if not in a call (Could possibly be Voice Search)

Search: Search Function
(Long Press) = End Call if making a call/Sleep if not in a call (Could possibly be Voice Search)

Power Button: Camera
(Long Press) = Power Options (Silent, Power Off, Reboot)

Note: If this is in the wrong section, I apologize and please move it. If you are a developer and like my idea, please to get to me as I'd like to work on it as a project. We could possibly sell it on the market and provide it for free for the people her on xda development.
 
dewt
Old
(Last edited by dewt; 23rd August 2010 at 08:31 AM.)
#2  
Member
Thanks Meter 1
Posts: 81
Join Date: May 2008
Location: Vancouver, WA
You can edit the softkey functions in /system/usr/keylayout/melfas-touchkey.kl.
Just not long presses, those are handled by the kernel I believe.
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...