- Home /
Question by
SooGreedy · Sep 28, 2015 at 06:40 AM ·
button trigger events
Detect Headset Button Press
Hello guys . Is it possible to bind function to headset buttons (Android) ? For example dbl click or single or maybe volume keys .
Comment
Answer by sethAlbertus · Feb 28, 2016 at 02:23 PM
The headset click is originally a play and stop button for music. Although it would be nice for a phone to add a custom button for this. I do not believe there is a button configured for this giving it is programmed for a specific application and not to interfere with other applications.
Answer by Frota_lv · Jul 18, 2017 at 03:57 AM
@SooGreedy In my android cellphone I used the code "f7" to access the headset button but I'm not sure if it works to every headset in every cellphonr
Your answer
![](https://koobas.hobune.stream/wayback/20220612035219im_/https://answers.unity.com/themes/thub/images/avi.jpg)