Once
https://code.launchpad.net/~rsalveti/qtmir/wired_hs_keys/+merge/243720
is merged you'll be able to retrieve such events at the Qt level (in our
case I think the shell is the one responsible for handling the input
stack and taking actions).

On QML you should look for both Qt.Key_MediaPlay and
Qt.Key_MediaTogglePlayPause (a similar logic would need to be in place
for multimedia playback, and also checking if there is an income call in
place, but not yet done).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1398427

Title:
  Can't use earphone to answer or disconnect a call

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1398427/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to