Post Reply

(Q) [Solved :)] Search button as Camera button

OP motcher41

21st December 2011, 12:37 AM   |  #1  
motcher41's Avatar
OP Senior Member
Flag Brainerd, Minnesota
Thanks Meter: 1,276
 
3,408 posts
Join Date:Joined: Jul 2011
Donate to Me
More
Anyone know if it is possible to make it so the search button takes a pic when in camera. I wish the dx2 had the dx camera button

Sent from my DROID X2 using xda premium
Last edited by motcher41; 21st December 2011 at 07:27 PM.
21st December 2011, 02:36 AM   |  #2  
IAreKyleW00t's Avatar
Senior Member
Flag Ohio
Thanks Meter: 115
 
318 posts
Join Date:Joined: Dec 2011
More
Unfortunately, I've tried to find a working way to get that done but I can't find a way to get it. There are ways to change the layout of the buttons, but for some reason I couldn't get it working. Ill keep looking and let you know what I find, lol because I want it too!

Sent from my DROID X2 using XDA App
21st December 2011, 02:44 AM   |  #3  
Senior Member
Thanks Meter: 85
 
293 posts
Join Date:Joined: Jul 2011
I have mine like that right now. /system/usr/keylayout. Open the tegra-kbc.kl file in a text editor and find the line that says key 217 SEARCH WAKE_DROPPED and comment it out by putting a # in front of it. Then just add a line that says key 217 CAMERA . Reboot your phone and you should have it.

Sent from my DROID X2 using xda premium
The Following 12 Users Say Thank You to robocuff For This Useful Post: [ View ]
21st December 2011, 03:18 AM   |  #4  
IAreKyleW00t's Avatar
Senior Member
Flag Ohio
Thanks Meter: 115
 
318 posts
Join Date:Joined: Dec 2011
More
Quote:
Originally Posted by robocuff

I have mine like that right now. /system/usr/keylayout. Open the tegra-kbc.kl file in a text editor and find the line that says key 217 SEARCH WAKE_DROPPED and comment it out by putting a # in front of it. Then just add a line that says key 217 CAMERA . Reboot your phone and you should have it.

Sent from my DROID X2 using xda premium

Ah, I see. I tried just adding CAMERA to that line. I was trying to get it to still work as a 'search' when your not using the camera - but who uses that anyways? Nice job.
21st December 2011, 04:15 AM   |  #5  
motcher41's Avatar
OP Senior Member
Flag Brainerd, Minnesota
Thanks Meter: 1,276
 
3,408 posts
Join Date:Joined: Jul 2011
Donate to Me
More
Quote:
Originally Posted by IAreKyleW00t

Ah, I see. I tried just adding CAMERA to that line. I was trying to get it to still work as a 'search' when your not using the camera - but who uses that anyways? Nice job.

So it worked with no side effects? Id probably like no search key outside of the camera it annoys me

Sent from my DROID X2 using xda premium
21st December 2011, 04:43 AM   |  #6  
Senior Member
Down South were we drink beer not water and southern comfort not pepsi.
Thanks Meter: 13
 
126 posts
Join Date:Joined: Oct 2011
More
Quote:
Originally Posted by robocuff

I have mine like that right now. /system/usr/keylayout. Open the tegra-kbc.kl file in a text editor and find the line that says key 217 SEARCH WAKE_DROPPED and comment it out by putting a # in front of it. Then just add a line that says key 217 CAMERA . Reboot your phone and you should have it.

Sent from my DROID X2 using xda premium

Thanks man. Much rather have the camera over the search anyway.
21st December 2011, 04:59 AM   |  #7  
Senior Member
Thanks Meter: 85
 
293 posts
Join Date:Joined: Jul 2011
I know what you mean. I never use that search button anyway. It's one of the first things I do after flashing a new rom. That's one thing to be aware of. Flash a new rom and you have to do it again.

Sent from my DROID X2 using xda premium
21st December 2011, 05:03 AM   |  #8  
motcher41's Avatar
OP Senior Member
Flag Brainerd, Minnesota
Thanks Meter: 1,276
 
3,408 posts
Join Date:Joined: Jul 2011
Donate to Me
More
Quote:
Originally Posted by robocuff

I know what you mean. I never use that search button anyway. It's one of the first things I do after flashing a new rom. That's one thing to be aware of. Flash a new rom and you have to do it again.

Sent from my DROID X2 using xda premium

That's ok ill definitely do it tomorrow

Sent from my DROID X2 using xda premium
21st December 2011, 05:32 PM   |  #9  
jsgraphicart's Avatar
Senior Member
Thanks Meter: 1,429
 
4,905 posts
Join Date:Joined: Nov 2011
More
In the same file, is it possible to make the volume buttons wake the phone? I see it shows wake for the home button. And I dont know what wake_dropped means for the menu and back buttons.
21st December 2011, 05:44 PM   |  #10  
IAreKyleW00t's Avatar
Senior Member
Flag Ohio
Thanks Meter: 115
 
318 posts
Join Date:Joined: Dec 2011
More
Quote:
Originally Posted by jsgraphicart

In the same file, is it possible to make the volume buttons wake the phone? I see it shows wake for the home button. And I dont know what wake_dropped means for the menu and back buttons.

Yes, it's possible. WAKE means that if that button/key is pressed while the phone is asleep (screen is off), it will wake the phone up and return it to the app/lock screen.
WAKE_DROPPED means that if that button/key is pressed while the phone is asleep (screen is off), it will 'wake' the phone, but it will NOT return it to the application/lock screen.

Basically, WAKE = unlock phone, WAKE_DROPPED = Doesn't unlock phone.

The Following 3 Users Say Thank You to IAreKyleW00t For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes