[Q] Manually Changing the Quicklaunch Key to Camera in CM11 - LG Optimus G Pro

I'm on Madmack's 11/26/13, CM11 build and I'm trying to remap the extra quick launch button we have above the volume rocker on CM11 - basically I want it as my camera button.
I've been able to do this on other phones by manual editing the proper keyboard layout file.
The hardware keyboard layout file for the LGOP on CM11 appears to be: /system/user/gk-keypad-8064.kl
The quick launch button is Key 250 and by default its set to ASSIST (which launches the Search function oddly enough).
Normally just changing ASSIST to CAMERA and rebooting is sufficient to launch the CAMERA functions - doesn't work with my LGOP on CM11. However, once changing Key 250 to CAMERA, it does take pictures if you manually launch the camera app.
Switching it to Key 250 CAMERA WAKE oddly enough makes the quicklaunch button function exactly the same as when you press down on the screen for 2+ seconds and the home screens shrink to the center and Wallpapers/Widgets/Settings pop up.
I can tell you that changing Key 250 to POWER, VOLUME_UP, VOLUME_DOWN, HOME all work... just can't get the CAMERA function to work.
Any thoughts or ideas? Any help would be appreciated.

I have no idea but this is would be great. I hope someone can chime in to help you out.
Sent from my LG-E980 using xda app-developers app

hey, decompressed an old nandroid of the stock rom...
i'm pretty sure i had the quicklaunch button set to the default "press to launch camera/press again to snap a pic" action, and my gk-keypad-8064.kl had key 250 set to QUICK_CLIP

Can we set it to a particular app? particularly to display recent apps?

Isn't there a "buttons" section in the phone settings? I used that to switch search function to camera and tested, it works great. Only downside is its not a 2-step shutter button lol.

Hi have you tryed changing it to camera wake_dropped? ive remapped another LG phone and that was the code i used. ill try it now aswell
BraveDemon said:
I'm on Madmack's 11/26/13, CM11 build and I'm trying to remap the extra quick launch button we have above the volume rocker on CM11 - basically I want it as my camera button.
I've been able to do this on other phones by manual editing the proper keyboard layout file.
The hardware keyboard layout file for the LGOP on CM11 appears to be: /system/user/gk-keypad-8064.kl
The quick launch button is Key 250 and by default its set to ASSIST (which launches the Search function oddly enough).
Normally just changing ASSIST to CAMERA and rebooting is sufficient to launch the CAMERA functions - doesn't work with my LGOP on CM11. However, once changing Key 250 to CAMERA, it does take pictures if you manually launch the camera app.
Switching it to Key 250 CAMERA WAKE oddly enough makes the quicklaunch button function exactly the same as when you press down on the screen for 2+ seconds and the home screens shrink to the center and Wallpapers/Widgets/Settings pop up.
I can tell you that changing Key 250 to POWER, VOLUME_UP, VOLUME_DOWN, HOME all work... just can't get the CAMERA function to work.
Any thoughts or ideas? Any help would be appreciated.
Click to expand...
Click to collapse

A similar question
In looking through the forums, this thread seemed to be the closest to users having a similar situation to myself. I have an LGOP running the latest nightly of CM11 and I would also like to map the quick search button to a different function. While there are buttons options to set it to launch the camera app, it launches the default camera app and I would like it to launch the latest version of Google's camera app. Does anyone know how to do this?

Gravity box I think can pull it off
2SHAYNEZ

WEll I was searching for something similar, to remap our Quick button and assign anything to it! and I have found an xposed module which can do the job here you go: https://play.google.com/store/apps/details?id=com.spazedog.xposed.additionsgb

Related

Any working Button Mapper?

Hi!
Is it somebody using any kind of Button Mapper? And how it works for you?
I have tryied few:
Vito Button Mapper didn't work at all.
Dabble launcher ... this soft can see only 4btns: GPS, Recording, Internet and Camera (Recording didn't work properly, gives me some kind of mistake with buttons.exe)
And last one what I tried it was AE Button Plus (but I didn’t have enough time to take a closer look on it)
So, what is you experience? Any luck?
j0kkk3r said:
Hi!
Is it somebody using any kind of Button Mapper? And how it works for you?
I have tryied few:
Vito Button Mapper didn't work at all.
Dabble launcher ... this soft can see only 4btns: GPS, Recording, Internet and Camera (Recording didn't work properly, gives me some kind of mistake with buttons.exe)
And last one what I tried it was AE Button Plus (but I didn’t have enough time to take a closer look on it)
So, what is you experience? Any luck?
Click to expand...
Click to collapse
In the past for the S200 (PROPHET ) we used a very nice applet, Softkey applet.
I am wondering if anyone has used that on the ARTEMIS.
Gerigo-Greece said:
In the past for the S200 (PROPHET ) we used a very nice applet, Softkey applet.
I am wondering if anyone has used that on the ARTEMIS.
Click to expand...
Click to collapse
Try it yourself and report to the forum
Have tried it. Softkey Applet That is and it works nicely on the ARTEMIS.
The applet can be found on this forum under another link.(Prophet-Softkeys)
No, I am not looking for soft key applet ... My Soft keys working fine (and I have already installed soft for it, it comes in the rom) I can change them as I want ... But the question was: That I want to find soft which gives you opportunity to do a: Double click, Press and hold and etc.
Thanks ...
AE button plus
Here's an older reply of mine to a similar request for a button mapper.
Must have application for onehanders is a small utility called AE Button Plus at http://ae.inc.ru/aebplus.php. This allows you to map any number of system functions and applications to buttons (each button can acquire 3 more functions by double, triple and long press). For instance, I have mapped the mouse courser to a double click of a button. I have also mapped my ok button so that it really closes applications on a long press.
I know I sound like a sales rep but I am just a appreciative user.
apap said:
Here's an older reply of mine to a similar request for a button mapper.
Must have application for onehanders is a small utility called AE Button Plus at http://ae.inc.ru/aebplus.php. This allows you to map any number of system functions and applications to buttons (each button can acquire 3 more functions by double, triple and long press). For instance, I have mapped the mouse courser to a double click of a button. I have also mapped my ok button so that it really closes applications on a long press.
I know I sound like a sales rep but I am just a appreciative user.
Click to expand...
Click to collapse
Yes, I have tryed it ... but what about "Win" buttoon? What eppening when you press it? On my device its gives me button.exe mistake ... did you had any problem with that soft?
Cheers
j0kkk3r said:
Yes, I have tryed it ... but what about "Win" buttoon? What eppening when you press it? On my device its gives me button.exe mistake ... did you had any problem with that soft?
Cheers
Click to expand...
Click to collapse
jokkk3r - You are getting the buttons.exe error because you had Vito
Button Mapper installed at one time. I assume that you uninstalled it after you found that it didn't work (I did the same) - however, even after uninstall of Vito, any button that is not remapped by another app or by you through the standard WM5 button console will be stuck with the registry values that were assigned by Vito. So when that button is pressed again, the registry is telling it to look for the Vito software (called buttons.exe) that you have uninstalled. Hence, the error "buttons.exe not found."
Long story short, just disable any button mapping app you have running and then use the WM5 console to remap all problem buttons (even if it looks like they are already set.) Then start using your button mapping app again and the error should be gone.
By the way, I had the same problem with my record button (on press and hold) with Double Launcher. Single press, double press, and triple press would work, but press-and-hold would give me the error. That's how I found this solution. I still use Double Launcher despite the fact that it only sees 4 buttons (4x4=16 mappings is more than enough for me to try to remember! ) As I said - to get the press and hold function to work, you have to first disable DL and remap that function to whatever you want within WM5 - then use DL to remap the other 15 functions and the one you mapped in WM5 should remain (just don't assign anything to record button press-and-hold within DL)
Have tried it. Softkey Applet That is and it works nicely on the ARTEMIS.
The applet can be found on this forum under another link.(Prophet-Softkeys)
psargent said:
jokkk3r - You are getting the buttons.exe error because you had Vito
Button Mapper installed at one time. I assume that you uninstalled it after you found that it didn't work (I did the same) - however, even after uninstall of Vito, any button that is not remapped by another app or by you through the standard WM5 button console will be stuck with the registry values that were assigned by Vito. So when that button is pressed again, the registry is telling it to look for the Vito software (called buttons.exe) that you have uninstalled. Hence, the error "buttons.exe not found."
Long story short, just disable any button mapping app you have running and then use the WM5 console to remap all problem buttons (even if it looks like they are already set.) Then start using your button mapping app again and the error should be gone.
By the way, I had the same problem with my record button (on press and hold) with Double Launcher. Single press, double press, and triple press would work, but press-and-hold would give me the error. That's how I found this solution. I still use Double Launcher despite the fact that it only sees 4 buttons (4x4=16 mappings is more than enough for me to try to remember! ) As I said - to get the press and hold function to work, you have to first disable DL and remap that function to whatever you want within WM5 - then use DL to remap the other 15 functions and the one you mapped in WM5 should remain (just don't assign anything to record button press-and-hold within DL)
Click to expand...
Click to collapse
psargent I am really appreciating it. It’s solved my problem, and even the recording button doing everything what I need You are the man 
Cheers ...
SPB pocket plus
softkey applet lets you change only 2 soft buttons
And SPB pocket plus do the rest of work - 6 other buttons are remmapable
And SPB plus also give you the really close applications button and many many more...
I`m using softkeya applet + spb pocket plus - it`s great
Instead of IE I mapped the alt-tab button
Instead of GPS - close app button
Instead of camera at the right side - rotate screen
Left soft key - Explorer
Right soft key - Contacts
j0kkk3r said:
psargent I am really appreciating it. It’s solved my problem, and even the recording button doing everything what I need You are the man 
Cheers ...
Click to expand...
Click to collapse
Glad to help! Have a great day!

Am I the only one that remapped the PTT key to a camera button?

Just wondering if anyone else has done this because it's pretty sweet, in my opinion. Using Keyboard Config you can remap the PTT (or any key) to both open the camera software and take the picture by mapping it to open "/Windows/camera.exe"
Anyone else do this? Did anyone perhaps find a nice simple way to flip the screen of a particular application around so the camera button would be on the top?
I am having that too with Tarkim keyboard controll..Its really handy..but I can't click pics with that. Can you? Let me know if I can be of any help.
corepda said:
I am having that too with Tarkim keyboard controll..Its really handy..but I can't click pics with that. Can you? Let me know if I can be of any help.
Click to expand...
Click to collapse
Yes, it works just fine with taking pictures on my AT&T Tilt2 with Tarkim's Rhodium controller. Simply have it set to "Run Program" and have the program set to "/Windows/camera.exe"
This will open the camera app when you press it and when you're in the camera app it takes a picture. It's entirely a convenience by HTC that trying to open the app when it's already open causes it to take a picture. This doesn't work for you?
i used to have it set to camera, but seeing as how i rarely use the camera, i have it set to "AltTab"
So when i have more than one app open, hit the ptt button and a box will pop up with all the apps open, then i can either tap on the one i want to switch to, or press the ptt button to go to the next app.
I had remapped the PTT on my old Fuze to the camera function. Big problem you'll find here is that you'll take a lot of pocket pics. On my tilt 2 I mapped it to voice dial.
got mine mapped to taskmanager, send recieve all, bluetooth toggle, and long press camera using rhodium kbcontroller. how do u find "alttab" switch i use it all the time on my pc but i didnt know it was possible on the phone? mind showing me the target?

[Q] Adv Key Mapping question. Dev insight appreciated

Recently moved away from IOS JailBreak to Android, and can't say im used to the new FileSystem! I am trying to map keys specifically while the lockscreen is active. Most of my searches are littered w/ the global keylayout method. I noticed how the camera app remaps vol and pwr hard buttons (to zooming and controls lock respectively), while lockscreen nulls the 4 touch keys but keeps the global hard buttons, except camera. IOS JB had "activator". It is able to set button and gesture actions for the lock screen, home screen, while an app was active, and global (across the other 3). I dont need the full "activator", just wish to do lockscreen specific remappings to better utilize unused keys that otherwise have a good function. Anyone know a good FS mod shortcut or does the lockscreen.apk it's self need to be altered to achive this?
You can simply pull the key mapping file off the phone itself and edit it in notepad, save it, and send it back on. You need root though, I believe. Follow this guide and mix it up yourself! There are many tutorials on how to do this, if this certain one isn't too helpful. This one specifically is for the G1 but the steps should be very similar.
http://forum.xda-developers.com/showthread.php?t=551344
Post #4 of http://forum.xda-developers.com/showthread.php?t=1046761. Epic specific button mapping file.
Thanks, but those are, what I refer to as, the global keylayout, because it affects the phone's lockscreen, homescreen, and where ever else applicable. For Example, I am trying to mod the lockscreen camera buttons to control music, but it goes back to the camera buttons @ homescreen. I would also like to set the 4 touch buttons that are normally blocked on the lockscreen to do Media stuff as well. The keylayout overtakes too much. I'm lookin a bit more into the filesystem to day, might look into the AOSP work for better insight. Still open to any suggestions on where 2 look.

[Request] Take pictures with the side button?

I know development is kinda sparse here for the droid pro...but anyway someone can modify the camera.apk to allow the side button to work for taking pictures?
yea that would be kinda nice.
Ive got it set up now so that the single side button opens the camera, but it doesnt take pics
Had that feature on my old BB Tour before I switched to the Droid Pro. Really miss that feature. Don't miss much of anything else though.
I posted this on droidforums.net. works with stock GB camera as well as MIUI camera apk which i like a bit better.
I have been wanting to use the side button as a shutter button since I got the Droid Proand it can be done using Button Re-Mapper
You must be rooted to use this app so.... First go to settings>applications>Quick Launch and press/hold side button to clear the assigned app, this setting will no longer work once we remap the button. Open button remapper and scroll all the way to the bottom of the list and click on 246 (Side) and change it to Camera with Wake_Dropped state, apply changes and reboot. This way, along with No Lock app installed, your side button will now wake the phone. Once the phone is awake, press/hold the side button and it will bring up the camera. Now press the side button while the camera app is active and it will snap the pic. Yay.
The next coolest thing would be an app that can reprogram button actions the buttons are pressed/held like on BlackBerry. This would allow press/hold button shortcuts from homescreen without using the search soft key as we have to use now.
THANK YOU for posting this, should be made sticky in a mods page. ButtonRemapper http://forum.xda-developers.com/showthread.php?t=850464 and no lock from the matter go straight in my howto on this phone.
Another thing on my 3.8... verizon latest rom on settings, applications, quick launch you can do something similar to what you are saying pressing search + letter are keyboard shortcuts, like on BBs!
I'll also share that Toggle 2g/3g
http://forum.xda-developers.com/showthread.php?t=739530
works great and with widget it extends my battery even more.
Needs resigning of system apps on droid pro, be very careful and do things step by step adding pause in the batch file..
I added this comment http://forum.xda-developers.com/showthread.php?p=17626210&posted=1#post17626210 for procedure with droid pro.s
The app ROCKS!
el6006 said:
I posted this on droidforums.net. works with stock GB camera as well as MIUI camera apk which i like a bit better.
I have been wanting to use the side button as a shutter button since I got the Droid Proand it can be done using Button Re-Mapper
You must be rooted to use this app so.... First go to settings>applications>Quick Launch and press/hold side button to clear the assigned app, this setting will no longer work once we remap the button. Open button remapper and scroll all the way to the bottom of the list and click on 246 (Side) and change it to Camera with Wake_Dropped state, apply changes and reboot. This way, along with No Lock app installed, your side button will now wake the phone. Once the phone is awake, press/hold the side button and it will bring up the camera. Now press the side button while the camera app is active and it will snap the pic. Yay.
The next coolest thing would be an app that can reprogram button actions the buttons are pressed/held like on BlackBerry. This would allow press/hold button shortcuts from homescreen without using the search soft key as we have to use now.
Click to expand...
Click to collapse
Thank you, that worked great!
#G# said:
THANK YOU for posting this, should be made sticky in a mods page. ButtonRemapper http://forum.xda-developers.com/showthread.php?t=850464 and no lock from the matter go straight in my howto on this phone.
Another thing on my 3.8... verizon latest rom on settings, applications, quick launch you can do something similar to what you are saying pressing search + letter are keyboard shortcuts, like on BBs!
I'll also share that Toggle 2g/3g
http://forum.xda-developers.com/showthread.php?t=739530
works great and with widget it extends my battery even more.
Needs resigning of system apps on droid pro, be very careful and do things step by step adding pause in the batch file..
I added this comment http://forum.xda-developers.com/showthread.php?p=17626210&posted=1#post17626210 for procedure with droid pro.s
The app ROCKS!
Click to expand...
Click to collapse
thanks for this

[REQ] Remap Camera Key to take Screenshots

Has anyone tried remapping the Camera Key to take Screenshots, outside Camera app ofcourse.
Could you show me how, I don't wanna use an app for it, just edit some system files. I've tried ButtonRemapper but it didn't work.
Thank you!
Edit: I would also like to know how to switch menu key and long press home key
Were you able to find a solution?
I wanted to do something similiar. I wanted to remap the camera key to lockscreen. Simliar feature to the Galaxy models where they have a dedicated convenience key on the right side to lock the deivce

Categories

Resources