lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+jURcvzh0AJ-Vszs21L9MhU5JWV1xKHkYm8x2nH1Djek9ueWw@mail.gmail.com>
Date:   Thu, 29 Apr 2021 10:41:08 -0700
From:   Harry Cutts <hcutts@...omium.org>
To:     Matt Reynolds <mattreynolds@...omium.org>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Andrzej Pietrasiewicz <andrzej.p@...labora.com>,
        Benjamin Valentin <benpicco@...glemail.com>,
        Dmitry Torokhov <dmitry.torokhov@...il.com>,
        Lee Jones <lee.jones@...aro.org>,
        Olivier CrĂȘte <olivier.crete@...ete.ca>,
        Sanjay Govind <sanjay.govind9@...il.com>,
        linux-input <linux-input@...r.kernel.org>
Subject: Re: [PATCH] Input: xpad - add support for Amazon Game Controller

On Thu, 29 Apr 2021 at 10:36, Matt Reynolds <mattreynolds@...omium.org> wrote:
>
> The Amazon Luna controller (product name "Amazon Game Controller") behaves
> like an Xbox 360 controller when connected over USB.
>
> Signed-off-by: Matt Reynolds <mattreynolds@...omium.org>

Reviewed-by: Harry Cutts <hcutts@...omium.org>

Harry Cutts
Chrome OS Touch/Input team

> ---
>
>  drivers/input/joystick/xpad.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
> index 9f0d07dcbf06..d69d7657ab12 100644
> --- a/drivers/input/joystick/xpad.c
> +++ b/drivers/input/joystick/xpad.c
> @@ -268,6 +268,7 @@ static const struct xpad_device {
>         { 0x1689, 0xfd00, "Razer Onza Tournament Edition", 0, XTYPE_XBOX360 },
>         { 0x1689, 0xfd01, "Razer Onza Classic Edition", 0, XTYPE_XBOX360 },
>         { 0x1689, 0xfe00, "Razer Sabertooth", 0, XTYPE_XBOX360 },
> +       { 0x1949, 0x041a, "Amazon Game Controller", 0, XTYPE_XBOX360 },
>         { 0x1bad, 0x0002, "Harmonix Rock Band Guitar", 0, XTYPE_XBOX360 },
>         { 0x1bad, 0x0003, "Harmonix Rock Band Drumkit", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
>         { 0x1bad, 0x0130, "Ion Drum Rocker", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
> @@ -440,6 +441,7 @@ static const struct usb_device_id xpad_table[] = {
>         XPAD_XBOX360_VENDOR(0x15e4),            /* Numark X-Box 360 controllers */
>         XPAD_XBOX360_VENDOR(0x162e),            /* Joytech X-Box 360 controllers */
>         XPAD_XBOX360_VENDOR(0x1689),            /* Razer Onza */
> +       XPAD_XBOX360_VENDOR(0x1949),            /* Amazon controllers */
>         XPAD_XBOX360_VENDOR(0x1bad),            /* Harminix Rock Band Guitar and Drums */
>         XPAD_XBOX360_VENDOR(0x20d6),            /* PowerA Controllers */
>         XPAD_XBOXONE_VENDOR(0x20d6),            /* PowerA Controllers */
> --
> 2.31.1.527.g47e6f16901-goog
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ