Jump to content

Welcome to CyanogenMod

Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Download files attached to the forum.
  • Customize your experience here
  • Share your CyanogenMod experience!
Guest Message by DevFuse
 

Change Soft Key Function?


This topic has been archived. This means that you cannot reply to this topic.
9 replies to this topic

#1 TheDiddler

TheDiddler
  • Members
  • 126 posts

Posted 29 July 2012 - 03:55 AM

I was wondering if it's possible to change the soft key function of the search button to say the multitask button because I never use the search button and I do use the multitask button quite frequently, so it would be a lot faster to press the search button instead of holding down the home button.

#2 onealvideo

onealvideo
  • Members
  • 138 posts

Posted 30 July 2012 - 07:32 PM

Yes you can.


http://forum.xda-dev...98&d=1292740886

Or search XDA FORUMS for button remapper. Reboot instantly on apply.

#3 TheDiddler

TheDiddler
  • Members
  • 126 posts

Posted 30 July 2012 - 08:02 PM

View Postonealvideo, on 30 July 2012 - 07:32 PM, said:

Yes you can.


http://forum.xda-dev...98&d=1292740886

Or search XDA FORUMS for button remapper. Reboot instantly on apply.

Thanks for the app but in the app, there's no choice for the multitask button. There's a whole bunch of media options and even D-pad options but no multitask option.

#4 onealvideo

onealvideo
  • Members
  • 138 posts

Posted 31 July 2012 - 12:46 AM

Ok, so I been researching a little bit about the virtual keys and I have a solution for you.  I had to figure it out on my own and I am starting to dabble in the finer points of Android... :D

If you have root, open your file manager of choice.

You need to navigate to /system/usr/keylayout/

You should see a file called    melfas_touchkey

Open in it a text editor.

It should have a line that reads

Key 217 SEARCH VIRTUAL

Replace the word SEARCH with the word APP_SWITCH

Save the file.

Reboot.

Worked on my AT&T Skyrocket just fine.  Is phone specific to making that work so it won't work on other phones... But it does for the AT&T version of the Skyrocket.  If the filename does not exist.  You will have to search out that file and make the change.

Good luck!

:)

#5 TheDiddler

TheDiddler
  • Members
  • 126 posts

Posted 03 August 2012 - 10:19 PM

View Postonealvideo, on 31 July 2012 - 12:46 AM, said:

Ok, so I been researching a little bit about the virtual keys and I have a solution for you.  I had to figure it out on my own and I am starting to dabble in the finer points of Android... :D

If you have root, open your file manager of choice.

You need to navigate to /system/usr/keylayout/

You should see a file called melfas_touchkey

Open in it a text editor.

It should have a line that reads

Key 217 SEARCH VIRTUAL

Replace the word SEARCH with the word APP_SWITCH

Save the file.

Reboot.

Worked on my AT&T Skyrocket just fine.  Is phone specific to making that work so it won't work on other phones... But it does for the AT&T version of the Skyrocket.  If the filename does not exist.  You will have to search out that file and make the change.

Good luck!

:)

How did you save the file? Everytime I try to save the file, it says could not save the file.

#6 onealvideo

onealvideo
  • Members
  • 138 posts

Posted 03 August 2012 - 11:34 PM

What app are you opening it with? It needs to have root permissions!

#7 TheDiddler

TheDiddler
  • Members
  • 126 posts

Posted 04 August 2012 - 01:17 AM

View Postonealvideo, on 03 August 2012 - 11:34 PM, said:

What app are you opening it with? It needs to have root permissions!

I tried the default text editor and also jota text editor (both via astro file manager) but no prompt ever comes up asking for root access. I'm also not sure how to give an app root access when no prompt comes up.

EDIT: I used Root Browser Lite and the file saved and it works.

Thanks a lot for your help.

Edited by TheDiddler, 04 August 2012 - 01:22 AM.


#8 onealvideo

onealvideo
  • Members
  • 138 posts

Posted 04 August 2012 - 02:31 AM

I was going to suggest Root Browser... :)

Did you switch your buttons?

You can assign those keys anything that is mapable. Thinking of trying to change the search key to a camera key.... :D

I was going to suggest Root Browser... :)

Did you switch your buttons?

You can assign those keys anything that is mapable. Thinking of trying to change the search key to a camera key.... :D

#9 TheDiddler

TheDiddler
  • Members
  • 126 posts

Posted 04 August 2012 - 04:55 PM

Yes I switched it to the multitasking button but yea, I understand I can change it to anything mappable.

#10 onealvideo

onealvideo
  • Members
  • 138 posts

Posted 04 August 2012 - 07:16 PM

Glad you got it working.  My first real dive into the inner workings of CM9... or Android for that matter... I have way more experience messing with my previous phone... that fruit that is sue happy... :ph34r: