Re: [PATCH BlueZ] avctp: Handle Vol Up/Down operations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Joao,

On Fri, Jan 25, 2013 at 7:54 PM, João Paulo Rechi Vita
<jprvita@xxxxxxxxxxxxx> wrote:
> The AVRCP spec mandates to support 'volume up' and 'volume down'
> operations when claiming support for Category 2 TG.
> ---
>  profiles/audio/avctp.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c
> index d2dce3e..28c414d 100644
> --- a/profiles/audio/avctp.c
> +++ b/profiles/audio/avctp.c
> @@ -213,6 +213,8 @@ static struct {
>         uint8_t avc;
>         uint16_t uinput;
>  } key_map[] = {
> +       { "VOLUME UP",          AVC_VOLUME_UP,          KEY_VOLUMEUP},
> +       { "VOLUME DOWN",        AVC_VOLUME_DOWN,        KEY_VOLUMEDOWN},
>         { "PLAY",               AVC_PLAY,               KEY_PLAYCD },
>         { "STOP",               AVC_STOP,               KEY_STOPCD },
>         { "PAUSE",              AVC_PAUSE,              KEY_PAUSECD },
> --
> 1.7.11.7
>

Applied, thanks.

--
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux