Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
motcher41
Old
(Last edited by motcher41; 21st December 2011 at 07:27 PM.)
#1  
motcher41's Avatar
Senior Member - OP
Thanks Meter 1038
Posts: 3,050
Join Date: Jul 2011
Location: Brainerd, Minnesota

 
DONATE TO ME
Default (Q) [Solved :)] Search button as Camera button

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
Check out the friendliest community on Google+
Droid Friends Community
Everyone and virtually everything welcome here!
 
IAreKyleW00t
Old
#2  
IAreKyleW00t's Avatar
Senior Member
Thanks Meter 38
Posts: 194
Join Date: Dec 2011
Location: Ohio
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

Samsung Galaxy Nexus (Verizon)
ROM: ParanoidAndroid 3.50 [4.2.2]
Kernel: AK 250 SKL
Recovery: TWRP 2.5.0.0
 
robocuff
Old
#3  
Senior Member
Thanks Meter 61
Posts: 190
Join Date: 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: [ Click to Expand ]
 
IAreKyleW00t
Old
#4  
IAreKyleW00t's Avatar
Senior Member
Thanks Meter 38
Posts: 194
Join Date: Dec 2011
Location: Ohio
Quote:
Originally Posted by robocuff View Post
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.

Samsung Galaxy Nexus (Verizon)
ROM: ParanoidAndroid 3.50 [4.2.2]
Kernel: AK 250 SKL
Recovery: TWRP 2.5.0.0
 
motcher41
Old
#5  
motcher41's Avatar
Senior Member - OP
Thanks Meter 1038
Posts: 3,050
Join Date: Jul 2011
Location: Brainerd, Minnesota

 
DONATE TO ME
Quote:
Originally Posted by IAreKyleW00t View Post
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
Check out the friendliest community on Google+
Droid Friends Community
Everyone and virtually everything welcome here!
 
pacman377
Old
#6  
Senior Member
Thanks Meter 10
Posts: 108
Join Date: Oct 2011
Location: Down South were we drink beer not water and southern comfort not pepsi.
Quote:
Originally Posted by robocuff View Post
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.
 
robocuff
Old
#7  
Senior Member
Thanks Meter 61
Posts: 190
Join Date: 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
 
motcher41
Old
#8  
motcher41's Avatar
Senior Member - OP
Thanks Meter 1038
Posts: 3,050
Join Date: Jul 2011
Location: Brainerd, Minnesota

 
DONATE TO ME
Quote:
Originally Posted by robocuff View Post
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
Check out the friendliest community on Google+
Droid Friends Community
Everyone and virtually everything welcome here!
 
jsgraphicart
Old
#9  
jsgraphicart's Avatar
Senior Member
Thanks Meter 873
Posts: 3,515
Join Date: Nov 2011
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.
My Devices:
Galaxy Nexus / HP TouchPad (Both on Jelly Bean)
Droid X2
Palm Pre Plus
Palm Centro
Everything before that doesn't matter.
 
IAreKyleW00t
Old
#10  
IAreKyleW00t's Avatar
Senior Member
Thanks Meter 38
Posts: 194
Join Date: Dec 2011
Location: Ohio
Quote:
Originally Posted by jsgraphicart View Post
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.

Samsung Galaxy Nexus (Verizon)
ROM: ParanoidAndroid 3.50 [4.2.2]
Kernel: AK 250 SKL
Recovery: TWRP 2.5.0.0

The Following 3 Users Say Thank You to IAreKyleW00t For This Useful Post: [ Click to Expand ]
 
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...