Comment 9 for bug 1309731

Revision history for this message
Sturm Flut (sturmflut) wrote :

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.