Hi is is possible to use in game headset media button? In android i can get input event KEY_MEDIA
Android key KEYCODE_HEADSETHOOK to get it work. Is it possible to get that event in unity?
Hi,
I tried following snippet and got F7 for HandsFree Button.
void OnGUI()
{
Event e = Event.current;
if (e.isKey)
Debug.Log("Detected key code: " + e.keyCode);
}