This app was mentioned in 25 comments, with an average of 2.36 upvotes
I went through a ton of different software to do the remappings, but the final remappings are a combination of:
However, I also had to remap the mouse keys within Logitech's own software so that they sent keyboard keys, rather than mouse functions. This paired well with XposedAdditions, and XposedAdditions pairs well with Tasker, which pairs well with AutoInput =)
I've been doing this for years, but it requires Xposed. Extremely handy, such as when my phone is in car, click either volume button changes track with screen off.
https://play.google.com/store/apps/details?id=com.spazedog.xposed.additionsgb
no, but you can remap the hard keys using xposed additions. use on screen navigation buttons and map the hard back/recents keys to something like camera (ain't nobody got time for 2 presses) and expand notifications.
https://play.google.com/store/apps/details?id=com.spazedog.xposed.additionsgb&hl=en
Check out this post on how to take pictures with shell commands. Combine that with the Xposed additions module and tasker (to run the shell command) and you should be able to do it.
Install Xposed Framework from here: http://forum.xda-developers.com/showthread.php?t=3034811
(Download the a.p.k, the right installer zip and the right uninstaller zip for your phone. Install the a.p.k, then boot into recovery and flash the install zip. Pretty much straight forward. If you encounter any problems, please ask. You have to be familiar with flashing. Please read the instructions carefully or else you are bound to get fucked.)
Then install this: https://play.google.com/store/apps/details?id=com.spazedog.xposed.additionsgb (It is the 'module', the app that works the magic. Just tap install and then go to Xposed app and activate it from the 'Modules' section. And REBOOT. It should work, I am really sorry, don't have time to test it. After rebooting, try to tweak the options. You might have to reboot again to get them working.)
Any expert correct me if I did something wrong.
There is an xposed module that does something similar. you can map actions to any hardware key. double/triple press volume up, long press power button, etc... i had a quick camera launch on my nexus 5 2 years ago using it. probably possible with tasker but this is much simpler for the average person.
looks like it's not still actively developed, last update was Dec 15 so do you research before buying. dev is still helping users on the XDA thread, so looks like it's just solid and doesn't need constant updates.
Yes, it works fine because the hack will no longer be active, and it's using the actual hardware button input, unlike a remapped one, which is what I'm trying to do. (I don't understand why they would be different though)
I appreciate that this is a really niche problem because not many people who play mcpe have modded their phones in the way that I have (:P) but it is still an irritating problem to say the least.
As said in the previous post, it's also perfectly likely that its the specific xposed hack that I'm using that is causing the problem, but the remapped "back" button behaves as it should do throughout all other apps I use (that is all except mcpe)
look into xposed additions. i used this a while back to map long press volume down to launch camera on my nexus 5. checked and it's supposedly compatible on 6.0+
Add new actions like click, long press, double tap, triple tap and so on, to any physical button on your device. Actions can be anything from mirroring a different button to launching applications or shortcuts. Xposed Additions gives you the most powerful re-map system for any mobile operating system and allows you to choose exactly what your buttons should do and when/where to do it.
As a Matter-a-fact, yes, Xposed Additions does just this.
Although, you must install Xposed, which is an application that allows the customizations through 'modules', which is just another name for applications.
Download it from the Xposed website, grant root access, and install by going to the 'Framework' section.
After rebooting, you can install 'Xposed Additions' from the Play Store from the first link!
Xposed is a great application and I encourage you to look around the app for more interesting customizations that Cyanogenmod doesn't provide!
You can use it to map hardware keys to different functions in apps. I use it to map the volume up and down on my Note 4 to allow me to skip music tracks on long press.
To be clear xposed additions is just this app?
Never used xposed. Although I heard good things about it never really got around to it.
I recommend that, along with the external devices mentioned in the other posts, you look into Xposed Additions, if you use Xposed.
https://play.google.com/store/apps/details?id=com.spazedog.xposed.additionsgb&hl=en
It's an app for remapping the buttons on your device, the pro version allowing you to change what they do by context, such as screen on, screen off, when a certain app is open, etc.
And I combine this with Soundabout, which is an app that can control the various inputs and outputs of audio on your device. So, let's say that you have a bluetooth receiver. This will allow you to prevent the audio from redirecting to the bluetooth receiver, and keep it going out through the headphone jack. And different options as well.
I use these both with a little bluetooth audio receiver that I have. With Xposed Additions I can control the mapping of the hardware buttons both on the device or the external devices, such as bluetooth, and with Soundabout I can control the audio inputs and outputs. Basically I made a little fully-customizable and context-based remote. :)
xposed module xposed additions lets you map hard keys along with multiple clicks, sequences, long press, etc...
Can be implemented with Tasker and Xposed Additions or ButtonRemapper
Use XPosed additions/ButtonRemap to reassign the home button to a tasker task. When triggered, use some method to detect whether the keyboard is active. If yes do nothing, if no trigger go-to-home.
Some roms have a native option to remap the hardware keys, but they don't always let you assign an app rather than some predefined action.
It requires root and exposed, but I believe xposed additions is what you're looking for.
it's available as an xposed module.
https://play.google.com/store/apps/details?id=com.spazedog.xposed.additionsgb under Options > Layout, it requires Xposed framework.
Try this https://play.google.com/store/apps/details?id=com.spazedog.xposed.additionsgb
Should be able to tell right away with a button press once is installed if it will work.
I believe this is the guide I uses to root: http://forum.xda-developers.com/lg-g3/general/guide-root-lg-firmwares-kitkat-lollipop-t3056951
XDA forums is a great place to look for rooting and custom content.
As for xposed, It installs as a .apk you get from their official site. http://repo.xposed.info/module/de.robv.android.xposed.installer
Lastly, for xposed addons, that can be obtained from the play store https://play.google.com/store/apps/details?id=com.spazedog.xposed.additionsgb