I have only three buttons on my Bluetooth helmet: VOL+
VOL-
ON
(which is on/pairing button and it might drop the call as well)
Would be nice if the Bluetooth controls were configurable in such a way I could skip to next track with the ON
button or with a combination of volume buttons (E.G. double press VOL+
) my players support Bluetooth controls, but I presume they work with the standard NEXT
button.
Is there a way to achieve this with Android 6?
EDIT: In my case it will never work as the device is not sending ANY event to the phone, but the question might be useful for others in similar scenario.
/system/usr/keylayout
to map the standard bluetooth keys in a way you want, though I didn't verify that myself. Double-pressing (or any key combo) on the other hand seems impossible unless the hardware itself is made to output a keyevent on that combo.ON
key as I just use it to turn it on. Thanks, I will give it a try. Do you need root access to modify that file?