FORUMS
Remove All Ads from XDA

[APP][BETA] Button Mapper - Customize your hardware buttons

17,937 posts
Thanks Meter: 86,788
 
By flar2, Recognized Developer on 18th April 2016, 04:06 PM
Post Reply Email Thread
7th November 2019, 08:37 PM |#1762  
tiho5's Avatar
Senior Member
Thanks Meter: 819
 
More
Quote:
Originally Posted by flar2

It's fixed on the latest, which is 1.40.

Thank you.
7th November 2019, 08:45 PM |#1763  
Remapping Motion Sense on the Pixel 4 and 4 XL
Button Mapper 1.40 introduces support for Motion Sense on the new Pixel 4/4XL.

The way this works is you swipe your hand in the air over the phone to perform an action. You can swipe in any direction, but swiping left or right seems to work best. I originally planned to remap each direction separately, but found this was too unreliable to be practical for most.

Motion Sense must be enabled in System Settings, and the "Reach to check phone" option must be enabled, or this won't work.

The motion gestures will work with the screen off, on the lockscreen and on the homescreen. The sensor is not active within other apps.


Setup
Requires one-time adb setup to allow Button Mapper to read logcat output


Options

Turn on screen: For rooted users, there is an option to turn the screen on before performing an action.

Play sound on action: Makes a sound whenever a swipe action is performed. This is helpful to indicate that the swipe was detected, especially when the screen is off.

Disable while music is playing: This will stop Button Mapper from performing the assigned action while music is playing. This allows you to continue using the built-in previous and next track gestures while listening to music. When not listening to music, Button Mapper will resume remapping.


Tips

A good way to test this out is to assign the "Toggle flashlight" action. It's a quick visual to help you get a feel for how the motion sensing works.


Download
https://labs.xda-developers.com/stor...ar2.homebutton

Note: Many users will not yet find the latest Button Mapper 1.40 on the Google Play Store. Download from XDA Labs if you can't wait.
The Following User Says Thank You to flar2 For This Useful Post: [ View ]
7th November 2019, 08:58 PM |#1764  
tiho5's Avatar
Senior Member
Thanks Meter: 819
 
More
Quote:
Originally Posted by flar2

It's fixed on the latest, which is 1.40.

just got the update

I can confirm it is fixed
The Following User Says Thank You to tiho5 For This Useful Post: [ View ] Gift tiho5 Ad-Free
8th November 2019, 02:13 PM |#1765  
sykomaniac's Avatar
Senior Member
Flag Leeds
Thanks Meter: 2,429
 
Donate to Me
More
Is long press for active edge supported?
8th November 2019, 08:58 PM |#1767  
Senior Member
Flag Baton Rouge
Thanks Meter: 51
 
More
Motion sense doesn't seem to work unless the screen is totally off
8th November 2019, 11:55 PM |#1768  
Quote:
Originally Posted by Seanzle

Motion sense doesn't seem to work unless the screen is totally off

I've tested on all the available factory images and it is available on the lockscreen, home screen and with screen off.

Reach to check phone must be on
9th November 2019, 12:11 AM |#1769  
Senior Member
Flag Baton Rouge
Thanks Meter: 51
 
More
It's on. Only works if the screen is off mate. If the lockscreen comes on or home screen is up it doesn't work

---------- Post added at 12:11 AM ---------- Previous post was at 12:04 AM ----------

Really confused as to why I can't get it to work
9th November 2019, 01:57 AM |#1770  
Quote:
Originally Posted by Seanzle

It's on. Only works if the screen is off mate. If the lockscreen comes on or home screen is up it doesn't work

---------- Post added at 12:11 AM ---------- Previous post was at 12:04 AM ----------

Really confused as to why I can't get it to work

Very strange
9th November 2019, 04:35 AM |#1771  
Junior Member
Thanks Meter: 0
 
More
Smart bulb
Is it possible to turn on/off my Phillips hue like my widget do?
Post Reply Subscribe to Thread

Tags
button, capacitive, home button, key, remap

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes