From patchwork Sat Nov 25 16:22:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 747346 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="WXA2qcl9" Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 425E79F; Sat, 25 Nov 2023 08:23:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1700929349; bh=PAlRc2ja3hh6DeaWm9zc1SFzcPjmPGHqZ2p19AErk3o=; h=From:Date:Subject:To:Cc; b=WXA2qcl9v7BwZVhxsSk1xhOGD5Ht/FoltLKgnMNZbuPQY6j34wQArAvx/hY3IxuiI dKm+XjZ4Snk9jWDdIonZsHOcsLk/R0X7nh0UO1GI/DHMWaNT+XVJy912QIQyiGaNpm 0yYPaqNNd+Wyg7diUsY7CVNUyChrbxqwVilnImmk= From: Luca Weiss Date: Sat, 25 Nov 2023 17:22:15 +0100 Subject: [PATCH] Input: xpad - add Razer Wolverine V2 support Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20231125-razer-wolverine-v2-v1-1-979fe9f9288e@z3ntu.xyz> X-B4-Tracking: v=1; b=H4sIADYfYmUC/x3MMQqAMAxA0atIZgNtpItXEYdqowaklRSqKN7d4 viH9x/IrMIZ+uYB5SJZUqxh2wbmzceVUUJtIEOdteRQ/c2KZ9pLhZGxEAbjyE7UefYOKjyUF7n +6TC+7wcepOICZAAAAA== To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1124; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=PAlRc2ja3hh6DeaWm9zc1SFzcPjmPGHqZ2p19AErk3o=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlYh85IHrmrKDRYKR+d09mJfLAfIvc0J+BeffIi DinFHOWPwKJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZWIfOQAKCRBy2EO4nU3X Vs14D/9iC5JJyHV8M8HNrp2ivvOA7otQzZYCyfH/ZTtCwfBNUMzWIjMVqYOwSsjkPW/zYucXfaq uCVG+2tnCWBrvxGuGPtx6A34cKuapwm46ddT2wzrmiJ9wYoJFaU2wgassw54wWcs/qbR1KmHeOh jS+Ve1WkQF/2YO75cyW9zuDpWsvboiTA8NEQ66mHljmf3CTnqxn82P7Pbmnr0rJMOG6LhsiS26C 3W8pDf7ELwXSk9WEDOqlxwCZi4Cdbbmvc0mbc7UJef1lFKB85zYj8ew72ishXxHsIhvBI9P8LSf SljEc4mmzUVsf+tNLOoYE94b5ZkAC6F9c3C+9TnNL1k1YrWbsLW04B7QRo+FwDGFX56jRw8ry9i 0GEkSViAu5GqZL0tdOxaY5s+7mD5jp+PTC4U6RhQg3205GR9e9CnmiVYDAVENZ47avoKHXZovV2 iDP0LBl2rCU8k+XHQZPLyAceWTP1Uiw/Ie5xbhisGMIUaHIAnbPJHe0kstUJayFLaeVydvH96Jj 75jPhQVL8QxljqoWWTrALWxWjAHaxDg/VOzvZvsOu7pGaFlXOyxgWH3HLR7JLJLQkLdhVLzGSsr HqO5qLlqagbjjs9FvG1Vp4hsjaeBnQS4YBhXdOV9vpKYHaKLMZhd0irtJd+GLPlxqAdfE1N4sgW 3s+wy+l8/9S8wlA== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD Add the VID and PID of Razer Wolverine V2 to xpad_device. Signed-off-by: Luca Weiss --- drivers/input/joystick/xpad.c | 1 + 1 file changed, 1 insertion(+) --- base-commit: 0f5cc96c367f2e780eb492cc9cab84e3b2ca88da change-id: 20231125-razer-wolverine-v2-d0521b23aea5 Best regards, diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index f5c21565bb3c..e2c1848182de 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -286,6 +286,7 @@ static const struct xpad_device { { 0x146b, 0x0604, "Bigben Interactive DAIJA Arcade Stick", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 }, { 0x1532, 0x0a00, "Razer Atrox Arcade Stick", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOXONE }, { 0x1532, 0x0a03, "Razer Wildcat", 0, XTYPE_XBOXONE }, + { 0x1532, 0x0a29, "Razer Wolverine V2", 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 },