Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Tip us?
 
rubejb
Old
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Sep 2010
Default Remap Volume Key Long-Press?

Posted this elsewhere and haven't found a solution...

With the Optimus V I had CM7 installed, and it had an option for long-press volume-up to skip tracks, and volume-down would go back a track.

But since I listen to mostly podcasts, I went in with root explorer and changed the physical search button to be fast-forward to get past boring parts.

Since the Triumph doesn't have much in the way of physical buttons, I was trying to use the long-press volume keys to FF and rewind the current track.

I've gone to /system/usr/keylayout (this is the directory of the Optimus's settings)

But there are a number of .kl files in that folder. Does anyone know which is the one the Triumph uses for the physical keys? I'm assuming it's the "fbx_kybd.kl" since there are only 4 keys listed in it.

Also, what would key values would I add to the file to make my FF setup work?
ex:
key ??? MEDIA_FAST_FORWARD
key ??? MEDIA_REWIND

Thanks!
 
rubejb
Old
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Sep 2010
Default Still trying...

Ok, so the phone has been out for a while now, people have started making custom ROMs and such. Does anyone have an answer to my question?

Thanks!
 
Thread Tools

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...