My wired headset generates key input events on krillin and mako, and Unity already has partial support for them. The problem seems to be that the hardware/driver does not emit the same key codes on all devices.
Sennheiser CX2.00G earbuds connected to krillin OTA-8: Play/Pause/Hook button emits Qt::Key_MediaPlay Volume up button emits Qt::Key_MediaPrevious Volume down button emits Qt::Key_MediaNext Sennheiser CX2.00G earbugs connected to mako ubuntu-touch/rc-proposed/ubuntu-pd r85: Play/Pause/Hook button emits Qt::Key_LaunchMedia Volume up button emits nothing Volume down button emits nothing As far as I can see AOSP ships a key mapping file for every device to compensate for this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309731 Title: headphone button does not play/pause music. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1309731/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
