[pulseaudio-discuss] Media Keys on Bluetooth headsets?

Lennart Poettering lennart at poettering.net
Mon Dec 28 07:09:10 PST 2009


On Mon, 28.12.09 08:08, Ng Oon-Ee (ngoonee at gmail.com) wrote:

> Hi, I've been using my Jabra Halo stereo (A2DP) headset with pulse and
> gnome-bluetooth for several months now, works great.
> 
> A question though, does pulseaudio or gnome-bluetooth (not sure who'd be
> responsible for this) support the media keys (next track, previous
> track) on my headset, or on any bluetooth headset? I'd assume these keys
> are standard across headsets, since they all work on the same devices
> (bluetooth mp3 or cellphones etc.)

bluetoothd forwards AVRCP key events to user applications by creating
a virtual input device (uinput) for it in the kernel. Applications
that handle /dev/input devices properly (such as X) should be able to
make use of it without any modification.

Note however that there is currently no way in X to map keypresses to
the devices they originate from. That means that volume change
keypresses do not necesarily change the volume of the device they were
triggered from.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list