Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp675847imu; Tue, 27 Nov 2018 19:54:58 -0800 (PST) X-Google-Smtp-Source: AFSGD/UxGcC2QN8TiXgwPyFDbqNVVmb1JdHeYeTlI3r7olqGgi7NFViDaKFJ3FDah5Z7cEUyqCIQ X-Received: by 2002:a65:64c8:: with SMTP id t8mr31350128pgv.31.1543377298667; Tue, 27 Nov 2018 19:54:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543377298; cv=none; d=google.com; s=arc-20160816; b=KB0fMoIYggaJavCGPO+to7W2CMz7l8RDbfrvzU+om46fGwRDtyVDpBtDMO7rAW2hA0 RW+vwJAG6EmiT8FzvVBGpcHnTxA6mMuf3eeR4yX4l1PUDzrkd9LRv7GHukyKwdvazOue oWO6qOJI1QbRBws9xgcyATEah8ryyQetDpR3n72YKCK4IiUYVYn9WDZh+4rjIzLJQmMH mtuK2lZyXZn7MhwZRsZpMeg/RvE+4gncfwr/QboyzTJhJ5mJ3iXnCju5CQ5ePvQxZ8Xt kQlL9I1nSldIc9oHUiBZDMJpy1u4MIt9Xeq8+fj18erh1qY4RyOeC6UjmhsXPmTzZG1t /mEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:dkim-signature; bh=cPtt2u1IbbKoJZkuH9Oh8GFlJB8QWN7Me6aCSoMtezU=; b=ulhQcHbRT+wENLQz8MxO2UjrU1b2NmxieoOAp2CmkWJBHSu115h5JpjvA+fjna5skW g6y3hM/iNvzGUQXREzwWAUcsptVVpK0GSlRiEietxMa/iDtISAAGNwyDionbk8jl9FD6 DkgQiER62og04XUKC9xTItgGTJL0Y9nLR1fM2HLzKOo/safBmdjXKuGnyqghzVgxOtAj GDf1YOnhGgbIfKsTVx8wuX7Sl5+6LLlG2xluD7j4EPNrr5t3SLFHz2ia68bwCjNrhaat oSkvyTMtHmpuH/yDpQmzqlF2BCu9yQLe4W8ZZyMmOQxcby86yNi2+LEiPeY9BC7sv2YH FA3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IjfCXX16; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b128si6389002pfa.283.2018.11.27.19.54.44; Tue, 27 Nov 2018 19:54:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IjfCXX16; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727504AbeK1Oxy (ORCPT + 99 others); Wed, 28 Nov 2018 09:53:54 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:37664 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727033AbeK1Oxx (ORCPT ); Wed, 28 Nov 2018 09:53:53 -0500 Received: by mail-pg1-f194.google.com with SMTP id 80so8864652pge.4; Tue, 27 Nov 2018 19:53:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=cPtt2u1IbbKoJZkuH9Oh8GFlJB8QWN7Me6aCSoMtezU=; b=IjfCXX16hbvo4+51jVpRq80pew6QE+QU6nqeA2p5eIOpS4juiIsq5dzS+UOpAyr/Ey WjAm8Wzc6NutLDip23gF/aJXueYsIxQuJycd7v7WyULTnQ4pLtr2EEAIrnJejXgsxXtR EowPu2VLUZJhBPYphA6lv970L/ZVhtkeiuKZtSm1OhesldbSzwjJLI9ndwCGDExeTh3e 6RTdqaEEbs20AXBpCQyoqVmboiQ3rWTFFz5aTngYohJp4lEq4ZLOnzLOR4cUcgIxP/N/ 5ZC0yQtQpbeRgU+Vtlsrxn9B5/l/dDWEbUIMP5jf3RCjDB7OpZ+ItztJCqxRR/AbTFL3 6SDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cPtt2u1IbbKoJZkuH9Oh8GFlJB8QWN7Me6aCSoMtezU=; b=t7wqxBSgxRurzeTt5EB3hUxp9pbSOjLE5JZXCeebpSYQL4Fhpj5S3xhAafmJnWwEmJ C7D2vFNw4EP1CQAlLvtEaoRoeSpzI4XSJJ8pGb2RH2OFV5RxqKYrYqk05ku3mMY8WR2G BLmTXFAHy9Cr8JighFZefPYDjVwWFvKJ+ACJpH9gG+1V0cOLGDZg8AA8SH9E/HLbyvHu WLNq2pohmWNzIEgGBF/slTT5gVMKZLRo3VKh3bCOUtBfq50FlnWUUDW1zLhYQbAOCQvL uGhRwiGTvh+dH0kjzKz1JACJN85uV6kfhGFCtgwhqV2VICigjYvJUgrlt/pa1NYtfhQV o9Bw== X-Gm-Message-State: AGRZ1gK3mnKpZpKrpxomemDnyUBYVeZTRW8/aUP0X1hzh1MQq0xyG7O8 mUa/ic5GU17DBBYzVLEms1I= X-Received: by 2002:a62:1f9d:: with SMTP id l29mr35848521pfj.14.1543377225171; Tue, 27 Nov 2018 19:53:45 -0800 (PST) Received: from ?IPv6:2604:4080:1012:8070:9a48:b5d:be16:1cdc? ([2604:4080:1012:8070:9a48:b5d:be16:1cdc]) by smtp.gmail.com with ESMTPSA id q1sm7288071pfb.96.2018.11.27.19.53.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Nov 2018 19:53:44 -0800 (PST) Subject: Re: [PATCH] Input: xpad - add support for Hyperkin Duke Xbox One gamepad From: Cameron Gutman To: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, dmitry.torokhov@gmail.com Cc: shelby@jueden.org References: <20181128032857.26167-1-aicommander@gmail.com> Message-ID: Date: Tue, 27 Nov 2018 19:53:44 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181128032857.26167-1-aicommander@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/27/2018 07:28 PM, Cameron Gutman wrote: > Originally submitted by Shelby Jueden (GitHub: AkBKukU) to paroj/xpad: > https://github.com/paroj/xpad/pull/97 > > Minor change to the location of the new entries done by me. > > Cc: Shelby Jueden > Cc: stable@vger.kernel.org > Signed-off-by: Cameron Gutman > --- I'm going to actually NACK this one myself. I didn't realize Shelby had already submitted it here and received feedback - https://patchwork.kernel.org/patch/10421897/ I believe I have a patch to always read from Xbox One gamepads kicking around here somewhere. I'll send that in a series with this patch (or Shelby's if he wants to make a v2 with the ordering fixed). > 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 cfc8b94527b9..8d6ea091a01a 100644 > --- a/drivers/input/joystick/xpad.c > +++ b/drivers/input/joystick/xpad.c > @@ -330,6 +330,7 @@ static const struct xpad_device { > { 0x24c6, 0x5b03, "Thrustmaster Ferrari 458 Racing Wheel", 0, XTYPE_XBOX360 }, > { 0x24c6, 0x5d04, "Razer Sabertooth", 0, XTYPE_XBOX360 }, > { 0x24c6, 0xfafe, "Rock Candy Gamepad for Xbox 360", 0, XTYPE_XBOX360 }, > + { 0x2e24, 0x0652, "Hyperkin Duke X-Box One pad", 0, XTYPE_XBOXONE }, > { 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX }, > { 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX }, > { 0x0000, 0x0000, "Generic X-Box pad", 0, XTYPE_UNKNOWN } > @@ -440,6 +441,7 @@ static const struct usb_device_id xpad_table[] = { > XPAD_XBOX360_VENDOR(0x1bad), /* Harminix Rock Band Guitar and Drums */ > XPAD_XBOX360_VENDOR(0x24c6), /* PowerA Controllers */ > XPAD_XBOXONE_VENDOR(0x24c6), /* PowerA Controllers */ > + XPAD_XBOXONE_VENDOR(0x2e24), /* Hyperkin Duke X-Box One pad */ > { } > }; > >