[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <39aed974-ee2c-a0e7-9228-304cce275289@linux.intel.com>
Date: Fri, 8 May 2020 09:45:41 -0500
From: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
To: Radoslaw Biernacki <rad@...ihalf.com>,
Liam Girdwood <liam.r.girdwood@...ux.intel.com>,
Jie Yang <yang.jie@...ux.intel.com>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>
Cc: Chinyue Chen <chinyue@...omium.org>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org, Ben Zhang <benzh@...omium.org>,
Marcin Wojtas <mw@...ihalf.com>,
Benson Leung <bleung@...omium.org>,
Alex Levin <levinale@...gle.com>
Subject: Re: [PATCH] ASoC: Intel: Boards: Support headset button function for
nau88l25max and nau88l25ssm
On 5/7/20 5:03 PM, Radoslaw Biernacki wrote:
> Map the buttons from the Android reference headset to
> KEY_PLAYPAUSE, KEY_VOICECOMMAND, KEY_VOLUMEUP, and KEY_VOLUMEDOWN.
> KEY_PLAYPAUSE is used instead of KEY_MEDIA for BTN_0 as it is more
> logical and have much broader userspace support. Like Chrome OS
> use it to play/pause of video and audio. KEY_PLAYPAUSE is also
> supported by Android (USB headset spec requires KEY_PLAYPAUSE
> for BTN_0.)
> https://source.android.com/devices/accessories/headset/usb-headset-spec
>
> Signed-off-by: Chinyue Chen <chinyue@...omium.org>
> Signed-off-by: Benson Leung <bleung@...omium.org>
> Signed-off-by: Radoslaw Biernacki <rad@...ihalf.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
Powered by blists - more mailing lists