From patchwork Sat Apr 8 21:28:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cameron Gutman X-Patchwork-Id: 9671349 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8F59F6020F for ; Sat, 8 Apr 2017 21:29:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8294B26E81 for ; Sat, 8 Apr 2017 21:29:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7711F27C2D; Sat, 8 Apr 2017 21:29:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 296D128387 for ; Sat, 8 Apr 2017 21:29:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752719AbdDHV2t (ORCPT ); Sat, 8 Apr 2017 17:28:49 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:32916 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752665AbdDHV2o (ORCPT ); Sat, 8 Apr 2017 17:28:44 -0400 Received: by mail-pf0-f194.google.com with SMTP id c198so2061387pfc.0; Sat, 08 Apr 2017 14:28:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UXWbPFj5HNZlG9/JNznEtNN+eV5MjAaEJoQ1hx8Fx3A=; b=CHc3/PLZNlvd7e0irDV1zJlv0VJat0RhfSotqsgKX6Y0b/Lqw+uJZp0k5nLRrJgPY4 5oUqAFZX5lG01WvBYeilGToyCIDqgMCPpd5DeidpKFmydaymEpOc9/Iash2H8sLDNDJt KcUo9WpdI8B4WdVKt9txK8qZGhQzn/G52qwWG6KGSBr6pQzwGTooai/XzMbRf7bj5age JFcRyj5QXRkF+e82pU82ZGpT56KzRwq0F2wm6X1dh0UP8Zy28J7FHdKtXdSFYYaHWTbI U4a2JqRbHd0QQCegXlspV/QwS8OF+JafU612gPFoaMe3blXZ/bVbC6XjKzMe2zpUn3mj w1Cw== 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:in-reply-to :references; bh=UXWbPFj5HNZlG9/JNznEtNN+eV5MjAaEJoQ1hx8Fx3A=; b=KhZkMjNwDlVzEB9F/KCAKIZy27M/qcG6/p3QQEKGLQ8Gc8XXzHeFX2u1yl5fkRKI2V QDM501dM498n5Lb4PdCitryWslcOxqMJwhunEvcEhqA6sJpgwOrq9+uilbe4UbPMSSfk 9WV/9rNSgdlyUgh7BGIePFQDBffpYyzLF8asSqBbP2OEvLdMvF4VmGo2ZW/u+CD6ixhf D/tvWOhk1VJw8WXZGMKFuswFj5m1jJirskiGJRa3LAKZZ2y0FUHffkvaZvBWj+BAPEZd gJFvTDT8CBgaXaiyZNERNMLh2xiGPnKcZ1+//3dztnvz5FE8UV3W5eJUU2TdgOJfqfqj iKew== X-Gm-Message-State: AFeK/H1osERowalWXCk6abOou0laHDnD0g3zMUD2VP3bWlyoCIkZYtnYx9+kUk1LArmYUw== X-Received: by 10.84.239.8 with SMTP id w8mr57854368plk.73.1491686923264; Sat, 08 Apr 2017 14:28:43 -0700 (PDT) Received: from localhost.localdomain ([174.127.240.168]) by smtp.gmail.com with ESMTPSA id d3sm16546521pfd.57.2017.04.08.14.28.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Apr 2017 14:28:42 -0700 (PDT) From: Cameron Gutman To: dmitry.torokhov@gmail.com, rojtberg@gmail.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] Input: xpad - add support for Razer Wildcat gamepad Date: Sat, 8 Apr 2017 14:28:06 -0700 Message-Id: <20170408212806.7790-3-aicommander@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170408212806.7790-1-aicommander@gmail.com> References: <20170408212806.7790-1-aicommander@gmail.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Cc: stable@vger.kernel.org Signed-off-by: Cameron Gutman --- v2: - No changes 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 efb798a..5c3d249 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -202,6 +202,7 @@ static const struct xpad_device { { 0x1430, 0x8888, "TX6500+ Dance Pad (first generation)", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX }, { 0x146b, 0x0601, "BigBen Interactive XBOX 360 Controller", 0, XTYPE_XBOX360 }, { 0x1532, 0x0037, "Razer Sabertooth", 0, XTYPE_XBOX360 }, + { 0x1532, 0x0a03, "Razer Wildcat", 0, XTYPE_XBOXONE }, { 0x15e4, 0x3f00, "Power A Mini Pro Elite", 0, XTYPE_XBOX360 }, { 0x15e4, 0x3f0a, "Xbox Airflo wired controller", 0, XTYPE_XBOX360 }, { 0x15e4, 0x3f10, "Batarang Xbox 360 controller", 0, XTYPE_XBOX360 }, @@ -326,6 +327,7 @@ static struct usb_device_id xpad_table[] = { XPAD_XBOX360_VENDOR(0x1430), /* RedOctane X-Box 360 controllers */ XPAD_XBOX360_VENDOR(0x146b), /* BigBen Interactive Controllers */ XPAD_XBOX360_VENDOR(0x1532), /* Razer Sabertooth */ + XPAD_XBOXONE_VENDOR(0x1532), /* Razer Wildcat */ XPAD_XBOX360_VENDOR(0x15e4), /* Numark X-Box 360 controllers */ XPAD_XBOX360_VENDOR(0x162e), /* Joytech X-Box 360 controllers */ XPAD_XBOX360_VENDOR(0x1689), /* Razer Onza */