Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp660808imu; Tue, 27 Nov 2018 19:31:19 -0800 (PST) X-Google-Smtp-Source: AFSGD/WijeWMn62Yin10rxi7s32A0dV47Kvu8uZalH2G8uCkf678+/kA7yf0ixcaUEJJ5IxIu5ua X-Received: by 2002:a65:60c2:: with SMTP id r2mr29048757pgv.393.1543375879231; Tue, 27 Nov 2018 19:31:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543375879; cv=none; d=google.com; s=arc-20160816; b=Lpt1bYZrYFHS1ICKDv5rLAAI58LULlZ5puJmOFvC8oOfKNeVAr0vg85ridHz8wF3J7 ASkTpdPVi46LOJdvx5ml/9So69p+PhkLxJvUuf6JARanreif0oZ6jQc5HQQpEHcJzmfA LHb98pm5b1oxEoxATHAzFvqrCK9SBuCgO67B5//OtA1iiRUtFNr66LLE/3Cl94LvecPN RKHvST+VcYVc/2ptK5Rfhb9dEz4WJHnAggnaNOVn0A7Z49J9/XnZPI+Uzh4nn/RDK84f fQbYSpwrV0R7vhDIiHqD8elACcB/d/LHRdayeTYIaz9AFb81b4+Y36AJ8crzZbZ0I2jV cQww== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=EPaAWKHAJcb2Of8zDyRNv0aeors3VMWXMgg4oGsTdaY=; b=aD69jcyUbWDGIzIgsofDJKqn3r/5gHZW/0Y7RKyt67MiF1Fx2/23FEizs0cm1Uk+gb EB24UPvZDtXRSObi0cRFhoIsKsSIFSUbplwThv2WufAaupXVh8xS40zVcrsOCtUamy/c y4h8gSZmHouNqw8iGfLP2NgA3F+Ovr1iNEAoyBzUZrNsKe1IvYW0mG2FQ+kGyQByiQTw PgE9JM98LmT0iFJnzpStIOcxzfLkegI3tlPyqOGHeb7KJOzKLSzCEC1E+Xl2fJsDi7UE gNRQ328L2pFUShAn81xTh1fT45ypKf0OrNAFF/wSqqOkozBUTrawwNWiSN72OUfA6kcf CvyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Dlfkvqey; 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 g10si5845961plq.371.2018.11.27.19.31.01; Tue, 27 Nov 2018 19:31:19 -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=Dlfkvqey; 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 S1727159AbeK1O3G (ORCPT + 99 others); Wed, 28 Nov 2018 09:29:06 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:41004 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726972AbeK1O3F (ORCPT ); Wed, 28 Nov 2018 09:29:05 -0500 Received: by mail-pg1-f194.google.com with SMTP id 70so8821441pgh.8; Tue, 27 Nov 2018 19:29:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EPaAWKHAJcb2Of8zDyRNv0aeors3VMWXMgg4oGsTdaY=; b=DlfkvqeyEE0wc7bAEhtlBA+aSfhTMCK3JGA1cUIQN8mWZIMHkyl4l4ZXgHBEkpaDi1 6WbOfTCwjZDTd+KteRlNAmHwFkJk5qPt6klQoOo9ZK09wiCcNpGcxFyW3Jf9ShEz+m2q 056C1frc8j8jvyCt9/xl/9L5EBbl4ocRsm+DDwSnFMeWJVXlLh6r1j5D+aqiz84Ivcrb sJHf72rB9zJoe+rl6xx7mxNycmrMUqgbZqwAv2Tozp8bZwS/cWSEvpkHeLnuuva5PrBx gRNhkZuiekHd/pkpXqR/Czx8KqR2B7vkaw2PXm0xVT2/4t6NQxDzG3hVqzBsViCwuZVK Vf1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EPaAWKHAJcb2Of8zDyRNv0aeors3VMWXMgg4oGsTdaY=; b=dpoKr1HS5Qa1xaH5fDY4XAbqbTj4gsvtfCNgVNEcLktCqpQtJ8XyHRX4pwaxxcbeTR CUCEMnbwNovk0Jqy8HKrJ+1/9Dk1cSxNKItELJ76RZ48DjGDyBoEBJ4tv/D/j20PpXdL anB3zutCKYZ9LRq8Vh5LdTMzRoSK0W9/tHuogMKAAeLSaYTThCZoZmDjF4nvc+ly2yXk OnkA6+6DRsR5JT882922pIfROaV7K6ckHcIrfONi7NFHXpufw3Uigbl1P3s8BUFfDJdx DWhYDJhnfIL+Ku3/5OPOMPC5n2qsVxdZadV1TYOYDWm0OH2BwsCGiehTOGJjGJaJhJw2 KmCQ== X-Gm-Message-State: AGRZ1gJD5KpzTpJilDuRsT1+qnsYIimQ59EXmiit1lfSP4bMIRY2rWT9 2vvDxAfZ6GU68sQCv7SruSkmxeFumTE= X-Received: by 2002:a62:8c11:: with SMTP id m17mr35838657pfd.224.1543375741001; Tue, 27 Nov 2018 19:29:01 -0800 (PST) Received: from jupiter.localdomain ([2604:4080:1012:8070:9a48:b5d:be16:1cdc]) by smtp.gmail.com with ESMTPSA id h19sm6624685pfn.114.2018.11.27.19.28.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Nov 2018 19:29:00 -0800 (PST) From: Cameron Gutman To: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, dmitry.torokhov@gmail.com Cc: shelby@jueden.org Subject: [PATCH] Input: xpad - add support for Hyperkin Duke Xbox One gamepad Date: Tue, 27 Nov 2018 19:28:57 -0800 Message-Id: <20181128032857.26167-1-aicommander@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 */ { } }; -- 2.19.1