From patchwork Tue Jan 7 19:28:20 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855824 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA36C1F2C35 for ; Tue, 7 Jan 2025 19:28:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278120; cv=none; b=NXOIuiWRefOHoOSW3lZLS5yVVDiVXlrkDMsNfdNTEZR+TvVW9pBqHNFzsf3R49P3yLijkUiIQ0SPnZjNN/JQakdWJwBIMRShcL4mnU9UCCBrz96uGnqjvhZW3CAmKzwuPufek3h71c6wDbGFvexOQpNsybh8OLJMT8X5bMxTwJE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278120; c=relaxed/simple; bh=UrsIFDteo8Lr3f7hDrb8UKdv77Y1AiDtVGViM8XJWz0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QOypipMewLVwJt0HRxUs4m4lZzGdZWvxWpTx5ROvCkUHXgaZo2C0i7JYdMKiMdN34Cyx8MmE+ArlYPQoUPul/rmAww5XhdeBM2y4hhO9my2zhqOpni8xF+94IAAioKXbEhRJYhoTHgGytxnR4PTXMJyw6/xIoFPhrkHupJ6HdzE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QWVt4suW; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QWVt4suW" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4361b0ec57aso158395235e9.0 for ; Tue, 07 Jan 2025 11:28:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736278116; x=1736882916; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jdOCN/wG1FyfinZDH8+CSB82bceiDFR7njZ0SL5uyXk=; b=QWVt4suWJOhWFxEhQMI0UXAWBrxPx4lH2dPbvNyHRZTKBTQm2O/pG2gcwoJskRl5wW YshBxSlXjwmjq2nELvrtDl4Hw7FDbIazvptCvDi94LYBPxXN00Uj7l4HbidycnQ0CTN+ XvbQbzepmZwJJ4GNoqsWNK0EpUJ9DZjlRlnEIQmUaFCjFGc6UjkhF3s+wKME2rmQDtUg 4qDQjgpExKud4bAd6t28ZzbWiG1WIDoU/BXwgx5jvEoQQEr4kcreUu5A48DwDWf+peTd HuTWrvBAfjWhvSwOrfGrC9XZ1jLqDfhc4GtVCp04Yr7eKzDMLGZEUf0YVH9q1lzYPFWF Gkww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736278116; x=1736882916; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jdOCN/wG1FyfinZDH8+CSB82bceiDFR7njZ0SL5uyXk=; b=Sr6kPg7iy8yYCmnLKcpGLJc3dVBgzyhUrGZGqTNSZAgG1DHWxC5s6+oQu5fagA6DmP kT/aG3xVI/K4aAR5WYxZ5MPk1x7qx/dTPbNnmOUKZkFP0QRkmhMlxXvl6x1C7Wgg1nJp xqeLws2Z9c6yTYCNSYECBR8X1FgDPPx40SQ3xjMK4DuwVrDaPb/p6wUdPxDM1iYoy3+p qFki9d320Ps3MZ+PkpBcELMhD9IVErkICKEyS5NWuT9Rpo0O55EXuCoDkCAaZWoQHog8 tVLLjEJElTjtzTbFXcU4/xVCa+BXDUBlkBSFRUsmsSwzAYTrlgTszs5dZb4h/xWSD9Ph CfqA== X-Gm-Message-State: AOJu0YwLCVXCc3jlQ8P18XjcHdoFM0oQTrI5lBWow4Clg1ep6YBkwgXf B7S737JbssMzR36l1bdM2YJT0MA+C3tODagqYUfUFR+Vfg7KdVY6djlNw5cA7DIMew== X-Gm-Gg: ASbGnct9n/Vh49emaYaY+OXZlYsYbHk1lKeQ77N19tAJU4SXsEst2voHooPPjxus7gc r7eqnmKsWcIzYRa1HSihPtxAq8BWBH09gZlpOajf/7qb9KLYAupGw9OfpvPMHqnxNQFtQk5HJN/ NGbzFGnXeYejhtPKt14EKm9PkgjCx33zUqNtycQWeuAfiDfA7iPu8syPZ8nasyUZFgQiX6X4LUb OQyvnn9WS/wiQqnMc3m5EpOAyQV5NgP2zYQr8s9GzZ34H3NOh6Rmfgqb8clajGgjYjR X-Google-Smtp-Source: AGHT+IH3fB+2txNLrTBFSXPY0OG/wY25G+hdJr/X/SmOjFVpHs457K9ezwmNvo1tOh7K3mB2/pewtQ== X-Received: by 2002:a5d:5847:0:b0:385:f6de:6266 with SMTP id ffacd0b85a97d-38a221fd10cmr50001357f8f.24.1736278115846; Tue, 07 Jan 2025 11:28:35 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4a8:4000:2867:420d:1978:6fdd]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8acb17sm50456700f8f.97.2025.01.07.11.28.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 11:28:35 -0800 (PST) From: Pavel Rojtberg X-Google-Original-From: Pavel Rojtberg < rojtberg@gmail.com > To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, gregkh@linuxfoundation.org Cc: Leonardo Brondani Schenkel , Pavel Rojtberg Subject: [PATCH v3 01/11] Input: xpad - improve name of 8BitDo controller 2dc8:3106 Date: Tue, 7 Jan 2025 20:28:20 +0100 Message-ID: <20250107192830.414709-2-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250107192830.414709-1-rojtberg@gmail.com> References: <20250107192830.414709-1-rojtberg@gmail.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Leonardo Brondani Schenkel 8BitDo Pro 2 Wired Controller shares the same USB identifier (2dc8:3106) as a different device, so amend name to reflect that and reduce confusion as the user might think the controller was misdetected. I have personally tested it and I can confirm that Pro 2 Wired will also not work in XTYPE_XBOXONE mode (buton presses won't register), therefore XTYPE_XBOX360 remains appropriate. Signed-off-by: Leonardo Brondani Schenkel Signed-off-by: Pavel Rojtberg --- drivers/input/joystick/xpad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index ff9bc87f2f70..8a02b9a5ef79 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -373,7 +373,7 @@ static const struct xpad_device { { 0x294b, 0x3303, "Snakebyte GAMEPAD BASE X", 0, XTYPE_XBOXONE }, { 0x294b, 0x3404, "Snakebyte GAMEPAD RGB X", 0, XTYPE_XBOXONE }, { 0x2dc8, 0x2000, "8BitDo Pro 2 Wired Controller fox Xbox", 0, XTYPE_XBOXONE }, - { 0x2dc8, 0x3106, "8BitDo Pro 2 Wired Controller", 0, XTYPE_XBOX360 }, + { 0x2dc8, 0x3106, "8BitDo Ultimate Wireless / Pro 2 Wired Controller", 0, XTYPE_XBOX360 }, { 0x2dc8, 0x310a, "8BitDo Ultimate 2C Wireless Controller", 0, XTYPE_XBOX360 }, { 0x2e24, 0x0652, "Hyperkin Duke X-Box One pad", 0, XTYPE_XBOXONE }, { 0x31e3, 0x1100, "Wooting One", 0, XTYPE_XBOX360 }, From patchwork Tue Jan 7 19:28:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855823 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A156E1F4E57 for ; Tue, 7 Jan 2025 19:28:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278121; cv=none; b=cKcr7Z6TW0DiErMPbh7DIMUS9Wu8hXYAvtyR8YBmwZhIDfbofjWSs2mBqxi8kW2NwuN2Hvg7BpTzUcHIYKvchvjbrEapjkuX3Erlrl0h/DG/J18mbWrkKnnraFF9HyCY2GJhvb1TWm9+GRuhgA6m85rGCl/RLtw6xE9pnYX+j9A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278121; c=relaxed/simple; bh=PYkpndLghyIqImLV4tfMkW2YDKNk+7UerwgGFbcgWgY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WQPdhaQ0JSHAiaPMvT3pkOsAbi+tbZb7olrikPv7aWKDyysibbdtF2flRr+jMmgVtSen5CPVpkNAWdL/4f+NpivlfAQQn2AHljJUUYgDl3M+AmyvfGeboZaFuJ9TWJC4nf2LEntbVfMDviMKg4h+nYrb3A4L3SC9kIPhX+MkY7g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=CvZJtSkR; arc=none smtp.client-ip=209.85.221.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CvZJtSkR" Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-3862d6d5765so9344150f8f.3 for ; Tue, 07 Jan 2025 11:28:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736278117; x=1736882917; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IYLpdHh4E3mL3Yn0cu92Bsjy+0bTJ73f3oV0tyORGVM=; b=CvZJtSkRkcC01ffL4xS1iwtEqXvVMgbadwke+D2laK7os2IRgv6eNUjXF/mB9u9T/k DPx1EpFTfXI79duLlR7K6clpBg68Cr7bw8/RPAmBbyqtwt+PpT3F8SGjpfq5XLrxThAm +oxqZbTleP9FVj7d/iQEn9WdQHj2JzPsxMS5tRTe05oE1NvGP/1vpflZ+Mv5XNf/ewLl 5J5WGNw2lVoh++f/EdiiZijtDzcs1ddl7SpxHCe6W89roUlfJdF+yz4oMYnPZKP71hWb lew8YzFq4b3ws8t375ccbj89R7a0mYoN1SAPrK+dB73mSq/TrGMkiupKL5BuAFd8Hjik d2bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736278117; x=1736882917; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IYLpdHh4E3mL3Yn0cu92Bsjy+0bTJ73f3oV0tyORGVM=; b=SulkFDfLNQXrG5ORgcUYm/F6qRRIKMZUlDi/WyNqcwgN+NEBL+UM+mboRDhy7A/OLk J8cbTG1UPkVnlJqzEHPbyYx1gOAUqdTVYhp18ut/jDcwBwkALZrgb4bHm6yK3pSfKh6c mRdvJINqn+bBznH1zTVxeBqVP6ZdJLbEnNv4OO8XJDLQNvJSKvMB/WGQlhdLNZHup66L 23j1GGDOguUqG9cMDympgTpTSkFONdwM4wne0svsZI7B1CsZfYRZMpeGRwZMdOuSub93 2r2KOtXBkOUyUS2jSKgTCo/Aln8T1KqEIaTopFu7WKhzo7nLXl4qFgSQCogiwCRZ7dO6 671g== X-Gm-Message-State: AOJu0YwgO1szmI+k6mddM0eynel84OAItXrtCGTKAO/Xe4ULlLp2iEXX 5Ss/+vByNMFohr05ayWytEBkdSv/sLDq4HB50gmxEvKG/d1g1sURf450g15Dh9tcNg== X-Gm-Gg: ASbGncvGI46QXV0pSHwmF+RFLFaos9O6iqN1hM+q+hgz9fVGVXhgBidmwu5uXUi/o3f 6qaUdgGyrQDpmK6Tj+nctqv/pUaTt27h+0ovfdFtgWC++cLRC0DaJ2qD5Lfa3oeWcIux5sACQCU ab9MRatxOV2I+xgYopSFuxtAgcvTv5j64lg2B6RsRnEn63M2E06dJ4QHinNwZRZ6OzEHcmr8MY3 OcCCPciN8i0YOhZSqwstn2PeZV8rl2KHKuPCR1ujhttj5WIHz27HHsgfWZCuV9TudQb X-Google-Smtp-Source: AGHT+IGdom2JNjUfTk6/NBQlcckXeL3hX7o/R/LUVgKS/e7pgUEBI0L1z3ratUa7B0LGWxOQSvdMtw== X-Received: by 2002:adf:c081:0:b0:38a:4184:1529 with SMTP id ffacd0b85a97d-38a418415ddmr24823122f8f.12.1736278116790; Tue, 07 Jan 2025 11:28:36 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4a8:4000:2867:420d:1978:6fdd]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8acb17sm50456700f8f.97.2025.01.07.11.28.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 11:28:36 -0800 (PST) From: Pavel Rojtberg X-Google-Original-From: Pavel Rojtberg < rojtberg@gmail.com > To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, gregkh@linuxfoundation.org Cc: Jack Greiner , Pavel Rojtberg Subject: [PATCH v3 02/11] Input: xpad - add support for wooting two he (arm) Date: Tue, 7 Jan 2025 20:28:21 +0100 Message-ID: <20250107192830.414709-3-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250107192830.414709-1-rojtberg@gmail.com> References: <20250107192830.414709-1-rojtberg@gmail.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Jack Greiner Signed-off-by: Jack Greiner Signed-off-by: Pavel Rojtberg --- drivers/input/joystick/xpad.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index 8a02b9a5ef79..ceb08c541b18 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -380,6 +380,7 @@ static const struct xpad_device { { 0x31e3, 0x1200, "Wooting Two", 0, XTYPE_XBOX360 }, { 0x31e3, 0x1210, "Wooting Lekker", 0, XTYPE_XBOX360 }, { 0x31e3, 0x1220, "Wooting Two HE", 0, XTYPE_XBOX360 }, + { 0x31e3, 0x1230, "Wooting Two HE (ARM)", 0, XTYPE_XBOX360 }, { 0x31e3, 0x1300, "Wooting 60HE (AVR)", 0, XTYPE_XBOX360 }, { 0x31e3, 0x1310, "Wooting 60HE (ARM)", 0, XTYPE_XBOX360 }, { 0x3285, 0x0607, "Nacon GC-100", 0, XTYPE_XBOX360 }, From patchwork Tue Jan 7 19:28:22 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855553 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 655DC1F4E55 for ; Tue, 7 Jan 2025 19:28:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278121; cv=none; b=eUdMfYr2pGDG9knVr0NBQrpnQi46VwsNiPIXrvSGQgvg6dzE/kAKz60EMpguTrHXG5Ywb24ppKlBz7wIvRl7zNPNMwwi/jPfDtnIbaRvSrpsd6HHgmIxpkuVpVhe716RX0uANnRGmqhyuxy654wNm1jNQ6CIFO09ZXdqkA2EGew= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278121; c=relaxed/simple; bh=VcDwpjk6KJUHo/uzoQgaCABrXZ4h2VaDFz+uODcJd4Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sA5wQMVs+5yvYGo9R+1iyww0J3zj6pHhw0DyKcLxX7GkrciV65EffJL5PCj1d3uD6GhJJkIF7fPWk2FweoHyNHBehfI5fQ4q8JlM3S4+y2Ww8CCWby/K0neOQi1R0UsZhIHnmgSNptvsdXwu8CiplhUJFhwTQKit/Zy2kPoDR3g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=DNPB5hfy; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DNPB5hfy" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-436ce2ab251so28868645e9.1 for ; Tue, 07 Jan 2025 11:28:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736278118; x=1736882918; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OtjfiX1TgghECvJ0Ub+XLyC/gZPAng4XPAdFrElJu90=; b=DNPB5hfy6Ken+UETjG16txE1yTPsLhSKs5XzPgm/OioxBo/ucm+t/tm8OLIjMzoQGC iHB2PTSmuQsWiWfHQXIubi+PAiifhfz8BACFwm34+jNjFVacdjEJdXD8I8bQCevURA9G xmLw3L6fX/bBnjPE7/9kdOUTp9eq2G2jH0qkEAL5I44sAAVt7DrqzcAC0/F+pHBbRIXr HObjW6UeT57aFwMb3rrNQjySWR9dLhiJRkLX/YZbMP+lTSuSu4BONMjT5ZkDGDj20nY+ mO6hE9b+FKQH3irQhYOzJVf5q/evkzQ/+3MVfvkS1fuMccfsbSo1U+I/eSsXr/DRtc/E 7lHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736278118; x=1736882918; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OtjfiX1TgghECvJ0Ub+XLyC/gZPAng4XPAdFrElJu90=; b=EpdpHaLMrS+PvdJHoIejA1f8YO5qDSNpNMBSsR18Cxs3oOrjNt5B5PtQ8a2Kqxm55B efDSQJ9eDUsoZYKhIRnGpKx4LCMsGxJiI8CcALJc9b3WcEfj4RjhbogvdQuGk1opVAB8 vVYYrycMay6/7ksrTWbzgDQuOTZwLaKMrr7VtNin3ouZk2xRtfPL87FMM1I1iCgG2EpW TaqrbpakOQULcQstxPfFkxmSZIXQQqgjfrGvoUnYHOC2MjGh3fv/hqSb8vZiwS23JVZH lNmtWMIPogsVbpjPBwl98vSa4g11Yh+AiIQ6v+6aen1BcFxaCmpDo4dVWEUQFE2KQ3tB b6ZA== X-Gm-Message-State: AOJu0YwQEYHwJBPRGzsth51hX360429Il0v30D4IqdNNWnzxFzqsmGfh sUgVX6YsFpTs97pl0CYtenE4W7gljxrZGiiBjWYk6dBgoa4cXHPFfB62QMIVockaiA== X-Gm-Gg: ASbGncv2PqBNRFR8goXTDUxkvaqB1HyMAUnTGT9E5ilsRrODN1ylQ4k6yfsZUHrLVWx ib/xebevOqZIGe9uyFGi3CPpo/8Db1LJWR0qHll17xAhCn48h5/O0hdJl2vA+yCk+fY85OUwIan DPrwRdoruusaRt7KrXgsrpjzj5bjglMeMFvjc9MX1vyudO1LXY9CdVAVVlxp3Lxh1aWEHVsGPyz m+0ubdLaa+ngzWtfnx9ldJVcEYRoxWpvOGJOoq50nGYmaEcj25bxtXsOlyv4F+KnYp/ X-Google-Smtp-Source: AGHT+IEf9Lzqo9L+vgYJFZsQhqogJS1VL2IscedUDGM2W6CAZPVmTU2OKlBME2cguxvR0N+0Uk43cw== X-Received: by 2002:a05:600c:1c1a:b0:434:f0df:a14 with SMTP id 5b1f17b1804b1-43668548500mr492152145e9.2.1736278117481; Tue, 07 Jan 2025 11:28:37 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4a8:4000:2867:420d:1978:6fdd]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8acb17sm50456700f8f.97.2025.01.07.11.28.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 11:28:37 -0800 (PST) From: Pavel Rojtberg X-Google-Original-From: Pavel Rojtberg < rojtberg@gmail.com > To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, gregkh@linuxfoundation.org Cc: Jocelyne Jones , Pavel Rojtberg Subject: [PATCH v3 03/11] Input: xpad - add support for SCUF Instinct Date: Tue, 7 Jan 2025 20:28:22 +0100 Message-ID: <20250107192830.414709-4-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250107192830.414709-1-rojtberg@gmail.com> References: <20250107192830.414709-1-rojtberg@gmail.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Jocelyne Jones Signed-off-by: Jocelyne Jones Signed-off-by: Pavel Rojtberg --- 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 ceb08c541b18..7985b7a5cf0e 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -376,6 +376,7 @@ static const struct xpad_device { { 0x2dc8, 0x3106, "8BitDo Ultimate Wireless / Pro 2 Wired Controller", 0, XTYPE_XBOX360 }, { 0x2dc8, 0x310a, "8BitDo Ultimate 2C Wireless Controller", 0, XTYPE_XBOX360 }, { 0x2e24, 0x0652, "Hyperkin Duke X-Box One pad", 0, XTYPE_XBOXONE }, + { 0x2e95, 0x0504, "SCUF Gaming Controller", MAP_SELECT_BUTTON, XTYPE_XBOXONE }, { 0x31e3, 0x1100, "Wooting One", 0, XTYPE_XBOX360 }, { 0x31e3, 0x1200, "Wooting Two", 0, XTYPE_XBOX360 }, { 0x31e3, 0x1210, "Wooting Lekker", 0, XTYPE_XBOX360 }, @@ -529,6 +530,7 @@ static const struct usb_device_id xpad_table[] = { XPAD_XBOXONE_VENDOR(0x2dc8), /* 8BitDo Pro 2 Wired Controller for Xbox */ XPAD_XBOXONE_VENDOR(0x2e24), /* Hyperkin Duke Xbox One pad */ XPAD_XBOX360_VENDOR(0x2f24), /* GameSir controllers */ + XPAD_XBOXONE_VENDOR(0x2e95), /* SCUF Gaming Controller */ XPAD_XBOX360_VENDOR(0x31e3), /* Wooting Keyboards */ XPAD_XBOX360_VENDOR(0x3285), /* Nacon GC-100 */ XPAD_XBOX360_VENDOR(0x3537), /* GameSir Controllers */ From patchwork Tue Jan 7 19:28:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855552 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2323F1D63EB for ; Tue, 7 Jan 2025 19:28:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278122; cv=none; b=l/HIcsfzDKBn9LA6i7hIq+FUQY/l0yCoiqHQdI/0SmdUewtMLi1AVoK33D6HCR47aJjlEVDnLDgsah+inxLfrCJ6D+oMckJ7wtUdWTsG4zBUqpLje+p8pg3AM5fsRINNalqEhjsQExPG8ZdYA5ho+rFzt9eP+Y1EoFnNtdC8SLk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278122; c=relaxed/simple; bh=P/n75Ovtrb4ZqQdj0fq9YScZ7AJiUzrQuq74F2Rf604=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bK8G6xHyZ6+MWkgKjuh+B/SwrTLtM1J9HdLLQrtD8Oo6B3zfK1MTpEWDC5LdH4zY5dhWX8G1wLSk5AjoczewzmwXgaAKjdC7JMPcDJz5u8fFwp9XL1BxH5KhjF27enOz9aTVIPTPo8lfKj/NvLaf33okRfgrkX7zS8DyXCF11ic= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ZISagkg7; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZISagkg7" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-436202dd730so114377985e9.2 for ; Tue, 07 Jan 2025 11:28:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736278118; x=1736882918; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=j/3BGgk30uTb5TCZDX8F5vfQGDCdCCFIChHmFGSFnK4=; b=ZISagkg71QB/w36ChB/2MaaFWcLO/ZMDB1ZbjCeRhcupYp38syJf3uapaV2oV5eROQ 6nv7Jmj3MOwf05GWvz5P2f9/Yp7dAfC5iEkOptCgnGdL0iymUPXJFhmSdgzt+k0rbtC+ 3jyh3J7fTbj5/rK5eekIs2N32yZeAas1SirhoMPT0OpHg2okF8mqbLpuPYiz56hFjlO8 pke4hPPVh1DetzSouYsUIx1skuNgkBpRRb/zSBw+ARCQkVPscykzNERq1IDIZKafKrdw 7/8TFqIZT5+E9jiLQFBZ/lan/KaQzD4E+mOoJ3UK8gpJBSf8rutNY/RW/3Ow5XdnNfZQ C3vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736278118; x=1736882918; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j/3BGgk30uTb5TCZDX8F5vfQGDCdCCFIChHmFGSFnK4=; b=kknPKammsM1cSe58Ptr/I+G+97lZsd68rmSmQoBCpaLyiAK+hBAH42dq8ouWXFW7PS yEbmCO9fJvw0XcGgk5S8W8yc6w1XA7DDN9kuj21LAp8J/6HgrhP3aUt7D8cZ3INkMQhq wzy+B8HdImco3HAe2XrxbcDlWZ9HCQ26SPum1y1lon1k/1xfZC+VwljmM6HE5rRKa1w2 xjw73AtmFuATcPL7ZOEQqky8e7svoy0QJJlNj0/AohvkGWfjq6rb1B8Khw5UfSEqur6N oetYBS9IkcUie0I01vuQfQOpnMMiFGtvNSL+QnZwl1lcAUI28mbZTsHN0zMIjWld3Vgv hylA== X-Gm-Message-State: AOJu0YzTrg4JIGvGXk/lPUcPoxWnvZ44xQQ8F+L9+KbashIfoH3RsHxR MtQRnAM/hy7WI2Z7WqIeGjy/7nZ5C9xJODOaUVsvU1+GJ+GRFE5GwMUJMp1Cb3vhxw== X-Gm-Gg: ASbGncu3UFAZk074q8CaCJY5QCicKdMd5HXClgqAV9wsP92QqBGdO/Dz3WcetDeCF8k aAT/RRa/xE/IXFXUcu1Zh1dlghJRkHhRzYOGKb8BVdjFjbHsF4YLXZqqSA3riDRxBvLsfQIeF0A F9qMZQuKqMLq1mzRRX/llI6L9ZT+nF6Y0GPDYP+O4MlLuxhD5Z819ahnuFH8Gl/ZFoL59Wks7Td YICknp8wbuI1AXAs3KtXF2Xo5yylPZ57ZlwNRCwTVP5FVotc6HmO9nvhWHN9TGDZet6 X-Google-Smtp-Source: AGHT+IEDI3MYdAhIMTq+Y3BMD8/hkwuMsmUnHcsysyMuWgKCnUNj4TuD91+Yr5zvFWY6PF1qwDHC8A== X-Received: by 2002:a05:600c:3b24:b0:436:5165:f206 with SMTP id 5b1f17b1804b1-43668b78debmr578427125e9.31.1736278118142; Tue, 07 Jan 2025 11:28:38 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4a8:4000:2867:420d:1978:6fdd]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8acb17sm50456700f8f.97.2025.01.07.11.28.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 11:28:37 -0800 (PST) From: Pavel Rojtberg X-Google-Original-From: Pavel Rojtberg < rojtberg@gmail.com > To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, gregkh@linuxfoundation.org Cc: Andrei Ilyashenko , Pavel Rojtberg Subject: [PATCH v3 04/11] Input: xpad - add support for Xbox ONE liquid metal controller Date: Tue, 7 Jan 2025 20:28:23 +0100 Message-ID: <20250107192830.414709-5-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250107192830.414709-1-rojtberg@gmail.com> References: <20250107192830.414709-1-rojtberg@gmail.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Andrei Ilyashenko I found that my controller wasn't working with this driver. The LED would light up and it could rumble but was not registering any button presses or joystick movements. I suspected the problem might be that it was not being sent some required init packet so I tried sending the packets being used in xboxone_init_packets and found that sending xboxone_pdp_auth got the controller working. At least for my controller xboxone_pdp_led_on was not strictly necessary but I decided to follow the same pattern used by the other two controllers. Signed-off-by: Andrei Ilyashenko Signed-off-by: Pavel Rojtberg --- 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 7985b7a5cf0e..d1b771457b51 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -687,7 +687,9 @@ static const struct xboxone_init_packet xboxone_init_packets[] = { XBOXONE_INIT_PKT(0x045e, 0x0b00, xboxone_s_init), XBOXONE_INIT_PKT(0x045e, 0x0b00, extra_input_packet_init), XBOXONE_INIT_PKT(0x0e6f, 0x0000, xboxone_pdp_led_on), + XBOXONE_INIT_PKT(0x20d6, 0xa01a, xboxone_pdp_led_on), XBOXONE_INIT_PKT(0x0e6f, 0x0000, xboxone_pdp_auth), + XBOXONE_INIT_PKT(0x20d6, 0xa01a, xboxone_pdp_auth), XBOXONE_INIT_PKT(0x24c6, 0x541a, xboxone_rumblebegin_init), XBOXONE_INIT_PKT(0x24c6, 0x542a, xboxone_rumblebegin_init), XBOXONE_INIT_PKT(0x24c6, 0x543a, xboxone_rumblebegin_init), From patchwork Tue Jan 7 19:28:24 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855822 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B022E1F5426 for ; Tue, 7 Jan 2025 19:28:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278122; cv=none; b=jF/fM95GzLEIpX2GLQ8vmq7TYPGwwdzId2D1bBJwELU+fsxwhtzeKGPEbtnh6+hOAPNtdOKj7xCIqQz9lrGgokNivm+Y470K/xVpzjnMskY87XiyNIycnytrduOEkuargCdt+ea9EGfxaJLGF+0QgKmByH2A1lR7yq6gGYW0pMg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278122; c=relaxed/simple; bh=jrcmZ9F5N0ZDjAloPPppU6ErTxx7l2sMztlQ2Bpy2KA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JVpG5LATKBVTL001T3ocen7B+EsIyxMbq+YIhyDkgJLZStMs7ulbORoq6yFPN13hOc0+tgvcYg8bbO4Rl7FD//KvbTU7ezQuTlCrVqxoqbNKdh/kYwb0CRhubcHgMaToEbh/temuBnDkKtHrrLQD282jb1VvOZgCb/CJdBfHkuk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=PBFJBqMg; arc=none smtp.client-ip=209.85.128.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PBFJBqMg" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4361dc6322fso106625905e9.3 for ; Tue, 07 Jan 2025 11:28:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736278119; x=1736882919; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JchWo8i/DfXxHTtawJ2hwkbqhK3EOQ7MSHoZV9cta9I=; b=PBFJBqMg8xYLav9ywg6SKehuqJrS9XQsCSz5XyCPKs8OAg0JZbdUkXYorOD4FFQGed +wSVRqxNl7bhtvqXw24LQVeZs8veXotySdgHUM2bBJDV6OAjt1lUWuHIstDa9dslgOqW GS+ALSgcBN6TULjiPgDP92qukjGY8ZUYOEyO2iCUguTS1Kjm3C7l9toTQBzfZrltlgDN hmZXUf7Gg0aic/aCMFDgUhZOuhSjpysXHDg8PMjKFxZmhFOMHgSgcccAfRmoGGGXIFAj DpzeN0O5ha4zIVDbFl7BI1Af+NyrwNZol4QWSedhsULUzJeDmYD1csZJjzHyWkEwxQ9m o2Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736278119; x=1736882919; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JchWo8i/DfXxHTtawJ2hwkbqhK3EOQ7MSHoZV9cta9I=; b=il+0BTpKokMR4yE44djciVHuYEJFkRbmkjlyEAjGC8g5qp4+qBx2rJA/7+w6aRZ3li ZfJK6F3zXZzL6cAqULs5G/U83pbXec8dxo0kbo75W077Au04WnGtQ2sGCQCejLYldxe2 oYHAgNcVqEHfx/rC+rzOBr9hxcj/70DuKUGuN0ORE1ByMmwOD7dpUS2yg8HsJdL0Kr7L F6FwbdN9SdlhUPgVIaNXYGqrEoh51pdN+ZYwBQZAivM5WvmtvliS7OgebqtNmSuJj2RL Mv6qyys3mSSP5aKzMtr0qU8C5xPblybgeuamxtGm7a+3peA0vckYWcX8sLiQAOBUe2h6 IYlg== X-Gm-Message-State: AOJu0Yw7u9JvAu0oochQxkDClpmrIhGw+OnqHhievSrM2VDQ7Bnq8jNp Tgn/7SJtkrWYVamirAbxJQ0XE3sjmLsfzytVi5JHHMBKfoHyn8NmBXnydBnlY6NseQ== X-Gm-Gg: ASbGncvgj2DQcWrE6u2ATLYY5/+tddq2M1xXWlBGj9/tblv/6lPrhQttbk/whJR3G5G J63II+skCCnudRZWnQm0NlR/EbDNj+D4TmOG/UjvCHBzZYK4LjV4NYVArXwcmt2ta+/vU665QUI PrjP6EKyGMaAAuSnAI/9y3lP4MQq0phiLNoUnR/Sq/G4UAtw0nVDZZtHwQoPdIK5P+PP/XZsxcy LOpRfu7Df7F+UGSJdRCtUFt8iTAbd5+u2MC6VfqNwSZa5310HB0ze4lJHYgmfZgd+Z0 X-Google-Smtp-Source: AGHT+IEsfydCJNIZuQohbWh21aBEo5FXX9Br7zUuQUrz52zM4OYif2Oi0GrKMVli7OZ/ezv9sebsaA== X-Received: by 2002:a05:600c:138d:b0:434:a4fe:cd71 with SMTP id 5b1f17b1804b1-436686439e6mr566727605e9.12.1736278118818; Tue, 07 Jan 2025 11:28:38 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4a8:4000:2867:420d:1978:6fdd]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8acb17sm50456700f8f.97.2025.01.07.11.28.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 11:28:38 -0800 (PST) From: Pavel Rojtberg X-Google-Original-From: Pavel Rojtberg < rojtberg@gmail.com > To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, gregkh@linuxfoundation.org Cc: Pavel Rojtberg Subject: [PATCH v3 05/11] Input: xpad - add multiple supported devices Date: Tue, 7 Jan 2025 20:28:24 +0100 Message-ID: <20250107192830.414709-6-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250107192830.414709-1-rojtberg@gmail.com> References: <20250107192830.414709-1-rojtberg@gmail.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Pavel Rojtberg This is based on multiple commits at https://github.com/paroj/xpad that had bouncing email addresses and were not signed off. Signed-off-by: Pavel Rojtberg --- drivers/input/joystick/xpad.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index d1b771457b51..b2716b49d3b6 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -275,6 +275,8 @@ static const struct xpad_device { { 0x0f0d, 0x0078, "Hori Real Arcade Pro V Kai Xbox One", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOXONE }, { 0x0f0d, 0x00c5, "Hori Fighting Commander ONE", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOXONE }, { 0x0f0d, 0x00dc, "HORIPAD FPS for Nintendo Switch", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 }, + { 0x0f0d, 0x0152, "Hori Racing Wheel Overdrive for Xbox Series X", 0, XTYPE_XBOXONE }, + { 0x0f0d, 0x0151, "Hori Racing Wheel Overdrive for Xbox Series X", 0, XTYPE_XBOXONE }, { 0x0f30, 0x010b, "Philips Recoil", 0, XTYPE_XBOX }, { 0x0f30, 0x0202, "Joytech Advanced Controller", 0, XTYPE_XBOX }, { 0x0f30, 0x8888, "BigBen XBMiniPad Controller", 0, XTYPE_XBOX }, @@ -374,6 +376,7 @@ static const struct xpad_device { { 0x294b, 0x3404, "Snakebyte GAMEPAD RGB X", 0, XTYPE_XBOXONE }, { 0x2dc8, 0x2000, "8BitDo Pro 2 Wired Controller fox Xbox", 0, XTYPE_XBOXONE }, { 0x2dc8, 0x3106, "8BitDo Ultimate Wireless / Pro 2 Wired Controller", 0, XTYPE_XBOX360 }, + { 0x2dc8, 0x3109, "8BitDo Ultimate Wireless Bluetooth", 0, XTYPE_XBOX360 }, { 0x2dc8, 0x310a, "8BitDo Ultimate 2C Wireless Controller", 0, XTYPE_XBOX360 }, { 0x2e24, 0x0652, "Hyperkin Duke X-Box One pad", 0, XTYPE_XBOXONE }, { 0x2e95, 0x0504, "SCUF Gaming Controller", MAP_SELECT_BUTTON, XTYPE_XBOXONE }, @@ -384,9 +387,12 @@ static const struct xpad_device { { 0x31e3, 0x1230, "Wooting Two HE (ARM)", 0, XTYPE_XBOX360 }, { 0x31e3, 0x1300, "Wooting 60HE (AVR)", 0, XTYPE_XBOX360 }, { 0x31e3, 0x1310, "Wooting 60HE (ARM)", 0, XTYPE_XBOX360 }, + { 0x3285, 0x0603, "Nacon Pro Compact controller for Xbox", 0, XTYPE_XBOXONE }, { 0x3285, 0x0607, "Nacon GC-100", 0, XTYPE_XBOX360 }, + { 0x3285, 0x0614, "Nacon Pro Compact", 0, XTYPE_XBOXONE }, { 0x3537, 0x1004, "GameSir T4 Kaleid", 0, XTYPE_XBOX360 }, { 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX }, + { 0x413d, 0x2104, "Black Shark Green Ghost Gamepad", 0, XTYPE_XBOX360 }, { 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX }, { 0x0000, 0x0000, "Generic X-Box pad", 0, XTYPE_UNKNOWN } }; @@ -535,6 +541,7 @@ static const struct usb_device_id xpad_table[] = { XPAD_XBOX360_VENDOR(0x3285), /* Nacon GC-100 */ XPAD_XBOX360_VENDOR(0x3537), /* GameSir Controllers */ XPAD_XBOXONE_VENDOR(0x3537), /* GameSir Controllers */ + XPAD_XBOX360_VENDOR(0x413d), /* Black Shark Green Ghost Controller */ { } }; From patchwork Tue Jan 7 19:28:25 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855551 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 424421F543B for ; Tue, 7 Jan 2025 19:28:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278122; cv=none; b=fzggBBgODjDQDt1z/sNnTnIzQDwpvZ9Ra5cjQpEzZ6VSVZwIgKIxF1xwhjcIfmGrmKHiN4hx2FprJRw8XXngi/Lwm+bD2azbGIKgYOHfOkBtuJ77gyFQzoqa0KpUSL4A1ezKOLUu+0KIbQbW0qz1AuVP1Z5MUmGuWSyqwfyhoKs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278122; c=relaxed/simple; bh=k5cmGzAmnHN2qHQFNU6+xaL4/UkteFhAZ39Pfm1KcN0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GmHbo+/TLFrF49P0Yhz65dQglnjJrATpXqPyVlHkGAfX8Ztc0zCaQ6BNo+4SgXfTkKuXjCngCygZtcWgiIxds8Yj6jShjMQkcOlqpuQzajpZ4yPTeD7UOeODDlZxqjdCY4zSHTnbs7pPPCBGLJrx52q1+6cJy+UqsgIVOAAcDsw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=JQxm2p2p; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JQxm2p2p" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4361e89b6daso110138955e9.3 for ; Tue, 07 Jan 2025 11:28:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736278119; x=1736882919; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4T4t2rfz5lqd69gRJpi1dCv0E2oXtx3Cac4RxzrHcAI=; b=JQxm2p2pcR9py8Ahz1D095xBpeSo99bDvSj9VS42IvhibY8gMlEvvsV+OSaO5hqqh1 96cXhPOjl/O15nKnPivGL3ZdN0sUJDXByYVRFfV5Ep+QguRyrR6Yxk/cxATczIkE8qW8 YltUrW2oEcBwXdkv0pzTPO5Gl/Zzv24TPAr2tzkxUYFQW7PBDBYycfKsGc1zVV/5pc7C WTTIXpgU0MwdR83NRmCu3rp8v5TXoxCCebZz05P3RIblhrTomR5P9pK2jFsLshXU2QQ3 of3t6HP70xv8tzALkTEepsq5mHHVF4BRYAAfxpDCaBv/65UQ71EvW2iMJJWTMwnnYQRU Utaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736278119; x=1736882919; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4T4t2rfz5lqd69gRJpi1dCv0E2oXtx3Cac4RxzrHcAI=; b=lGNvYJOPC+PtZ66IT78RSISnpSqFw1tdMbHBrUwXiekWPyGO+CRQm5Cstc8IFOa8Rt rAmUruGdP0M/WEzB5KtI5ILbo4FmMzOx4+DBRTNH905lw71mFFYQfyagMzg4kyY482ZM DSPb8zPylG6pdhNs+bzodf+hAW+/gGCSGYQ7uJCCqcnN687Q5FmMjkTv+h2HtZO0OZut e7tfK2Zsm5pY72vRbyXfrMuQPEmhVpN5RS0gzdMt7chWz+Yb2TV+huT+mXI/ONZyOIbV NtcgF4DNSrgNdScTlLiUgIfpBxwYgkSaB6q1Cnf3hynzOyZQ3nxIWucPlzJp9c+P6dtP UPig== X-Gm-Message-State: AOJu0Yz92u7wJQUXSqCFu+w3JglFwcBhKOrch0xoqapCr5qe0LaglEjd Z/i3yhhVMgB5969nzckAXkhEErbNuL5MTHoUz2XM40kcHhMJOQvGgb18swTysqB02Q== X-Gm-Gg: ASbGncu5nJrS1srGopx4Fp9mV+yn2u6oUc6lVAZMPSu0wfNi0/6NgGeemcfiGBuTxdk R1hUpx+fLVzg3b01OunEKrqlNBSurYUcdNjTIbJn+L7Mf3gwEWTd/jIM9waD91nGiGLSJFIc+b5 deGH8mYRGseodIB+8mjYZF2M2OP1Tsz3eI9yLxhylIsuFz1LyqwOP22HNnDok8xVuvwAIDtzG5c ytQzWXkS+xOmfFG2SaVsqgCVN01mHI84la0oSZj7lfnhUmbuHtZwCNN/oq6Uh/HXUmI X-Google-Smtp-Source: AGHT+IFvGiRiyVxVU8mt9Nvt83xgLs6YIA7mC8Vi6pyLxbaNZy80zVYzoH+zB+fvQf9oZElbGGMO+Q== X-Received: by 2002:a05:600c:4691:b0:434:9c1b:b36a with SMTP id 5b1f17b1804b1-436cf8e3b67mr121025785e9.13.1736278119467; Tue, 07 Jan 2025 11:28:39 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4a8:4000:2867:420d:1978:6fdd]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8acb17sm50456700f8f.97.2025.01.07.11.28.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 11:28:39 -0800 (PST) From: Pavel Rojtberg X-Google-Original-From: Pavel Rojtberg < rojtberg@gmail.com > To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, gregkh@linuxfoundation.org Cc: Martin Stolpe , Pavel Rojtberg Subject: [PATCH v3 06/11] Input: xpad - add USB ID for Nacon Revolution5 Pro Date: Tue, 7 Jan 2025 20:28:25 +0100 Message-ID: <20250107192830.414709-7-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250107192830.414709-1-rojtberg@gmail.com> References: <20250107192830.414709-1-rojtberg@gmail.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Martin Stolpe Signed-off-by: Martin Stolpe Signed-off-by: Pavel Rojtberg --- drivers/input/joystick/xpad.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index b2716b49d3b6..1cd946b26451 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -390,6 +390,7 @@ static const struct xpad_device { { 0x3285, 0x0603, "Nacon Pro Compact controller for Xbox", 0, XTYPE_XBOXONE }, { 0x3285, 0x0607, "Nacon GC-100", 0, XTYPE_XBOX360 }, { 0x3285, 0x0614, "Nacon Pro Compact", 0, XTYPE_XBOXONE }, + { 0x3285, 0x0662, "Nacon Revolution5 Pro", 0, XTYPE_XBOX360 }, { 0x3537, 0x1004, "GameSir T4 Kaleid", 0, XTYPE_XBOX360 }, { 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX }, { 0x413d, 0x2104, "Black Shark Green Ghost Gamepad", 0, XTYPE_XBOX360 }, From patchwork Tue Jan 7 19:28:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855819 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DBF7F1F542A for ; Tue, 7 Jan 2025 19:28:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278126; cv=none; b=QkN3KWEAdth657GtvfFgU1yCWi0Qo2BEFt7S//p47pA3Su9Or17FvZpR3mKfYF9Dnx3N+IHWKwysPo9BC8+lTa6p05/A2FFkolOqWB5a/zOy9DIEqbr7Ce6FjuQpAd37sZp7QtaegAGhg2rVmWTTzpOuj8PN9yio8dpdeuWKEbM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278126; c=relaxed/simple; bh=IaXVmeNNYfQOu4rUi97+QjZvXWvDEi6cWW+Gb2i4f6Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tXl5qCFq+50QGdaMl9WazC6VbeNUygnVG8U9ac9GFOdTaFoBY6vQps+j2L25nosOg3MvC7kWBy8qnUylP397B4ymYzDEKvpzbTBzy3Ijm8bdH8xg2BWSHsjOXI3fthWbl0dI04qCBjW7W1FlP3sR3YXeDZ87HCnnUcyqbN2DsTY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Kap/TvZU; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Kap/TvZU" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-4363dc916ceso758375e9.0 for ; Tue, 07 Jan 2025 11:28:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736278120; x=1736882920; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wc0V6PLdXXk4B9VRfekhxm/qKIdoJCR2Ud8roODqlio=; b=Kap/TvZURKY0jHIG9vMGVltVAaUvW224z6ISi47aramYeg00NT+7cOFvALVr31pT+L 96uBLEDUh4GwPxYjSXVDmYrBAambBHZiULhzNV6yUCyTArJBOl6FmTay3TzNpIQ3O7/e ujaecSaoa2D7X33daVfIHQvyWvgyefCjSLOednQ/T9KGk2ccYKFE/3IzYF0qxvae3huV XmIOjexqwHZIVVUFFMDP7JvApgJlbMZQPOQY7Mv8ZRo+RV7gpxxuu1bV+6UOnsoF8l/E ql+d9DbljzXXyGfyifoaimoy56CKth33uF4J9/ljYbo4CkOjrwfANbYvoaQT38MupB6y SayQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736278120; x=1736882920; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wc0V6PLdXXk4B9VRfekhxm/qKIdoJCR2Ud8roODqlio=; b=SJPvtG4nEOpmB1yVrRsnjz/8xOV5gpT/jqyW007w1bDBoa2Sm63Ex0Uc+EigVvZaXc /H9AAa5iBgolv+vi7w1dnuKc1+AlVRDSGZS820EXS1AOxfS65nOty9rmO6td1AXbRcEy 2iltdqjwYRgRh73HBCtqV9K/nU0IaEE0AcG8zXgG4PNNClxHLuq50AfY4UdxrI80rtTQ P9gW5U5VsZ0RXDxKigMRXWIBk1AKzFKK/jRin3TJoZp859Th1EudfzaP2SVMycdtMX3+ UmdwXv75L7dK+kMG6XcgIr3hmQ1SHir2nu5O87GsQa6VGpKqzWjsNVBtgGIwLXYjehFv pgMg== X-Gm-Message-State: AOJu0Yzr99yeoo6Ubw+Z7oPsqzmxtoGfKpDtKMFbWx0mP3IF8baUV82T YddsANfBWpzTerqM8PaUQDz9NukAZxKGGYPz74Ej9J5wSrTf8AOfe2+7DuAn9mi+ew== X-Gm-Gg: ASbGncsZ1gW0es6++ZsOTdGXaeFE8QSBdFVPhjND7b2s1t5khpJ4erUVCsi1/Ktf7zt /SMTM/uo6Xd2yyanLCW+vd/YzYzqq8XcZljsAQsKThzD4jP4k46rRMABjqhR3QlDd1mXpSamnrF pUpfLqukoadEyVzC6XS7J/iFCb7pBvtc/W1IpVcdhY73Ci7XB9jddwWAWIeoQflbDkdea+TKpVK dbpa2m+OUUs7+Ni10IgRGPJ11ypv2m7FFvVuVrN8XdjLKLGBPDtjAB2T+uvR92PULKb X-Google-Smtp-Source: AGHT+IGmHy6rwI/2sn+FIDTFNsZOOL/fVhmUFAzgRzWIRfmL8ZnWfI54FThlTzLy8N202BjOfsbK+Q== X-Received: by 2002:a05:6000:1ac8:b0:385:f892:c8be with SMTP id ffacd0b85a97d-38a79242f7amr3730444f8f.23.1736278120046; Tue, 07 Jan 2025 11:28:40 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4a8:4000:2867:420d:1978:6fdd]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8acb17sm50456700f8f.97.2025.01.07.11.28.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 11:28:39 -0800 (PST) From: Pavel Rojtberg X-Google-Original-From: Pavel Rojtberg < rojtberg@gmail.com > To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, gregkh@linuxfoundation.org Cc: Thijs Reus , Pavel Rojtberg Subject: [PATCH v3 07/11] Input: xpad - added Turtle Beach Recon support Date: Tue, 7 Jan 2025 20:28:26 +0100 Message-ID: <20250107192830.414709-8-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250107192830.414709-1-rojtberg@gmail.com> References: <20250107192830.414709-1-rojtberg@gmail.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Thijs Reus from the diff from: https://www.spinics.net/lists/linux-input/msg75512.html Signed-off-by: Thijs Reus Signed-off-by: Pavel Rojtberg --- drivers/input/joystick/xpad.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index 1cd946b26451..237704b3fab5 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -176,6 +176,7 @@ static const struct xpad_device { { 0x06a3, 0x0200, "Saitek Racing Wheel", 0, XTYPE_XBOX }, { 0x06a3, 0x0201, "Saitek Adrenalin", 0, XTYPE_XBOX }, { 0x06a3, 0xf51a, "Saitek P3600", 0, XTYPE_XBOX360 }, + { 0x0738, 0x4503, "Mad Catz Racing Wheel", 0, XTYPE_XBOXONE }, { 0x0738, 0x4506, "Mad Catz 4506 Wireless Controller", 0, XTYPE_XBOX }, { 0x0738, 0x4516, "Mad Catz Control Pad", 0, XTYPE_XBOX }, { 0x0738, 0x4520, "Mad Catz Control Pad Pro", 0, XTYPE_XBOX }, @@ -283,6 +284,7 @@ static const struct xpad_device { { 0x102c, 0xff0c, "Joytech Wireless Advanced Controller", 0, XTYPE_XBOX }, { 0x1038, 0x1430, "SteelSeries Stratus Duo", 0, XTYPE_XBOX360 }, { 0x1038, 0x1431, "SteelSeries Stratus Duo", 0, XTYPE_XBOX360 }, + { 0x10f5, 0x7005, "Turtle Beach Recon Controller", 0, XTYPE_XBOXONE }, { 0x11c9, 0x55f0, "Nacon GC-100XF", 0, XTYPE_XBOX360 }, { 0x11ff, 0x0511, "PXN V900", 0, XTYPE_XBOX360 }, { 0x1209, 0x2882, "Ardwiino Controller", 0, XTYPE_XBOX360 }, @@ -366,6 +368,7 @@ static const struct xpad_device { { 0x24c6, 0x5510, "Hori Fighting Commander ONE (Xbox 360/PC Mode)", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 }, { 0x24c6, 0x551a, "PowerA FUSION Pro Controller", 0, XTYPE_XBOXONE }, { 0x24c6, 0x561a, "PowerA FUSION Controller", 0, XTYPE_XBOXONE }, + { 0x24c6, 0x581a, "ThrustMaster XB1 Classic Controller", 0, XTYPE_XBOXONE }, { 0x24c6, 0x5b00, "ThrustMaster Ferrari 458 Racing Wheel", 0, XTYPE_XBOX360 }, { 0x24c6, 0x5b02, "Thrustmaster, Inc. GPX Controller", 0, XTYPE_XBOX360 }, { 0x24c6, 0x5b03, "Thrustmaster Ferrari 458 Racing Wheel", 0, XTYPE_XBOX360 }, From patchwork Tue Jan 7 19:28:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855821 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 811D41D63EB for ; Tue, 7 Jan 2025 19:28:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278124; cv=none; b=FL787rk3/k8XF3cAWBlXfSWh26+324hvBLOpZdk4JUxt7QptAR4nFaOhksBr2HkMBjGPd27PtgRfmXLDQWOgdEFbI4KBu6OrDxVQrYcRRLHml3EQng5yqccgSHYrUHBJ8LLOUPJD0BFgkJqTeculOYFvHrJk8CdwzD4DDbPWIVA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278124; c=relaxed/simple; bh=Bp6xMrdNZL9TY/cNDFbDlgr6l7fvIPI6S6aCL+BNfCE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fsCJ6gYDn5BNX6hfOmpaj4RXbHsVOYUWsFm0p/9uJpICvdiyNXtxsf5Tddaqrw+XjkA7IesBxFNRmXNCnfKQu1WoqgeZZcvG5tdwRSegfunSlJSG/nYUfzPWlahPGGExFdN/DTN8TswgNqNDOcU8NDcjZCpDq/h7FRA2j96wdvY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=X4LpRgI1; arc=none smtp.client-ip=209.85.128.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="X4LpRgI1" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4363ae65100so164350435e9.0 for ; Tue, 07 Jan 2025 11:28:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736278121; x=1736882921; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fNFZZmfnbpgq8EWMI6Meo9ZVLy5ORfazJIfWmb6RXn8=; b=X4LpRgI1GSI8VlNcmgRGwumRE96t6xsphT/UycgAlgRfjnaRzqAKEcZrMCmTPeY+Gx j6qx7YpilMI5p3Ewx8TG5q249xJPQJoVEQEOkTI99wMOOhR769UAmC3a85fHY/HO62Hz y64oyV7qGqBKCpIIKzHbGjgrc5Xt2KOSD6rUpR/Q9DQCo47uOg9onwLCLruJFY/zbuvH 1pcmKQELm/NEG83AT0HuwGFLiOcHPGitcBhm7MRWYRAp/arqv3T+nSpWkWrlprftLzxR 1nZ0t3IO61ZhFqyj/NcrO+Ms2ZnWSjFAGrt3dcW3qMHqO0NJabeiKMpp2AaeUk3OUNN0 ABew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736278121; x=1736882921; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fNFZZmfnbpgq8EWMI6Meo9ZVLy5ORfazJIfWmb6RXn8=; b=Cr39I7zm52qCytv+C/x2mS6QmUR9zujaOKyRUlea/dpBR7Z4k/SSkBl8SjlYikZlLW lCQWxlxqGccyoZFI4yAxri8xO7p0UBHgLpscid8AeiMVuGxG/bcU5oonGoDEdLVmxzbk OcGONHfI5PkW066ZeQqXu2Fk1Lcu6gI38q+OBgvhOkXB/DwM/MYdJD8EQUfHxSyp5uHk EmkJ2RFZ08RC+NTDvRPfZJx/trm3UwskT365RmFRTun5D0X/d9dVDNkR/NqVdQMlMsqJ 8dUaBmDllsX5Jt46NopdeKIiLa4EU4bvRboL/EhiwRJBhms/PxAsi4eEtts4/0kdzNPq JJoA== X-Gm-Message-State: AOJu0YxOrmACfMAAf9TaYpMKwbxkD7nlzjdAXkoXYziFfakrh1B27Hyn huy2qrr3kiAa42IA2dQ4NQG9DRuMJ2wpDP+lW4i8kMoPEuze4DZ0EQWUwVdv01u9xw== X-Gm-Gg: ASbGncvvDUxvbvy5bFRU/ceIBlYFzMKaOlHkndP87LIi5prPh7VI4F4r9hBXwkpMTSt HQ41ZF/syr6XM9qB08l/1lqwP8TVDQEK4F/GBqoNV1bPjcPFO2GEBUXWMj6e4MBURQB4B4RXBs1 DGk6FwWWg3AFjAhWRS7HlvQivv3U/7oPUOuWXjThMGDNI1u5Jp+arEgBab8O8NXBAVUzuMpqyaS ha7j1Ouj0+5c+Sy+9TnN64mbYYUOcMZy0T0mqewuKy+8ypFODeI7zy8dkFnQ82//azT X-Google-Smtp-Source: AGHT+IEqiwykVLKzwzYhVMd0FM/hg4RP7LHox+IErj0cBWW3EhKrsFrrIcrJVKeBNIJpqpf8RsEv+Q== X-Received: by 2002:a05:600c:450d:b0:436:2238:97f6 with SMTP id 5b1f17b1804b1-4366835c1ccmr429380785e9.1.1736278120721; Tue, 07 Jan 2025 11:28:40 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4a8:4000:2867:420d:1978:6fdd]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8acb17sm50456700f8f.97.2025.01.07.11.28.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 11:28:40 -0800 (PST) From: Pavel Rojtberg X-Google-Original-From: Pavel Rojtberg < rojtberg@gmail.com > To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, gregkh@linuxfoundation.org Cc: Matheos Mattsson , Pavel Rojtberg Subject: [PATCH v3 08/11] Input: xpad - add support for Nacon Evol-X Xbox One Controller Date: Tue, 7 Jan 2025 20:28:27 +0100 Message-ID: <20250107192830.414709-9-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250107192830.414709-1-rojtberg@gmail.com> References: <20250107192830.414709-1-rojtberg@gmail.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Matheos Mattsson Signed-off-by: Matheos Mattsson Signed-off-by: Pavel Rojtberg --- 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 237704b3fab5..18e33e2aeaa7 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -394,6 +394,7 @@ static const struct xpad_device { { 0x3285, 0x0607, "Nacon GC-100", 0, XTYPE_XBOX360 }, { 0x3285, 0x0614, "Nacon Pro Compact", 0, XTYPE_XBOXONE }, { 0x3285, 0x0662, "Nacon Revolution5 Pro", 0, XTYPE_XBOX360 }, + { 0x3285, 0x0663, "Nacon Evol-X", 0, XTYPE_XBOXONE }, { 0x3537, 0x1004, "GameSir T4 Kaleid", 0, XTYPE_XBOX360 }, { 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX }, { 0x413d, 0x2104, "Black Shark Green Ghost Gamepad", 0, XTYPE_XBOX360 }, @@ -543,6 +544,7 @@ static const struct usb_device_id xpad_table[] = { XPAD_XBOXONE_VENDOR(0x2e95), /* SCUF Gaming Controller */ XPAD_XBOX360_VENDOR(0x31e3), /* Wooting Keyboards */ XPAD_XBOX360_VENDOR(0x3285), /* Nacon GC-100 */ + XPAD_XBOXONE_VENDOR(0x3285), /* Nacon Evol-X */ XPAD_XBOX360_VENDOR(0x3537), /* GameSir Controllers */ XPAD_XBOXONE_VENDOR(0x3537), /* GameSir Controllers */ XPAD_XBOX360_VENDOR(0x413d), /* Black Shark Green Ghost Controller */ From patchwork Tue Jan 7 19:28:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855820 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4BFF11F63CC for ; Tue, 7 Jan 2025 19:28:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278126; cv=none; b=dm+pp+CUFp9VFlcSlB4Q4d9FrGYDl2nqJESb5qiz6UTF+AVlli22tESw0u2vkAWFHOs4r939U829yRuNMNqWRTEqzpJjndJza+CTf4yfLGKjjx8wnhy3nwVGSYjO7sTY8mtYcJ3JDaCf6OxyOH4ybbkghWFLnR4ZR0DLX9ncric= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278126; c=relaxed/simple; bh=1yzlYI9NVySHSg9GevxD9ZNodisMQG1E6OJ0dKqbfO0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=BADZS/+J9pRW2qgpoxcvIIhh8AM7ZdJrwKN0hHsEgEcLNFS5fXeL8c1LPDoGAWwOj8VRoIfI6xqR9Co6KmI3gMiVtSqV/2+sd6Bkuaab2s4c8BCNP5IfXBUJ1EoEwvTzDMlUf1/UTZY0Kh+ZAfWMZsEGt7wDaPNw8FAu08KPY6s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BGCJQPqo; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BGCJQPqo" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-435f8f29f8aso115435695e9.2 for ; Tue, 07 Jan 2025 11:28:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736278122; x=1736882922; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7Fquh9PlocvI1SRygVhgi/5h5vVVkZh1VFb+tvR+Oy4=; b=BGCJQPqoc3R/jyvrvKXIQxNPFC3ePrGItGNg77xvy33W51dIaAU4zjB8bT9vVocWXY qTTadaVUFMcwq1F4cP3czyOZwa0a53rwRyn1EEgCbjol6CRKizLCPYjFSBSAN7srcefo LmMWcS0798TslMxYMX8phgvZZKs0J7TrkAZjJFXbG28DF3qVaqYa6T+5Jog1/inGlFsc rKazwkJNHXzGft0EOLbJr5Dvy5xZmbPcSYIRidr1ZLQTkdrSVwnz17G5N0DGntin3YZD k1K+3rQVB/voM85DDWlx5eqtWZkDqykpCUB5VDwGzvspLaxqMygBLltgMF+fzdmz2T3m CMfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736278122; x=1736882922; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7Fquh9PlocvI1SRygVhgi/5h5vVVkZh1VFb+tvR+Oy4=; b=rm75YCEV3/sLBkvazCPlrV6dre9nzW0I3zEutHt2xkfz8/oPGnAOiCxpAFxi/sm5n2 Qdz3UU/xrb+co2vFeDcx3qauJi0lC4vAfYnb6i9WMGIGuTzGWZ5/qU4Rde+swGYdayzC 6BVV7vwOp8jvsHbu9+0FOjCJKLvn0c53fJ4B1ArAwDBhef0dk4y4ussIw3tAkmh27xut C42TDzIucTsyOZkuaIy/Yo+zVx56ehADoZyZ4Wbpw0bstCkscu9Y63g/02VAjizJvVBq 3zdogeUOLOb+L0zGGrXHpxK4+Nqh+fkFndKVIa3Or6GE3sUWhGxDpY+6EbZ4GMXGWWSG lfMQ== X-Gm-Message-State: AOJu0YwahJaxVYOfKOmRyJPmRY7V+OMoDCLP9Wdg/CizCHhZartWZx7e UPqgPYBHm1zxLhALm5AkphewjXKaKDjGs736UhQPp7uGZfBXnez17jYCyYmYQjidlA== X-Gm-Gg: ASbGncvdHXDI3skwee/KPf3lDYzhb+C6G1SP/U7tzdI0I+ItE5dUR+Z50HRyZZisx+s p+MxE7ka47AGhFQvZll/ig9y5KYYSMLCNM4tj1VZYd2Y2Mruw24IzyZ8w1Ey51xBA/S6b08cZ+x F3XMh1D/jOdZ5J2tP/dEIHFFzP3djkLSkIxEgzeKFdmbFPzQmKRBMiE16V67Mib5erDsIVo6mno He6/O6Pa3gUZI4pHdI3Amragwg5ufwkA+8XuZAIfQva0PWvqjDPPHuztK101ADXUF04 X-Google-Smtp-Source: AGHT+IE20EiMJHDaxeo/9RnN15+ZnhV0tYdLsF+t0ZytaTK9InFB/Kc7davfXvMiNAX0vyMBOikywg== X-Received: by 2002:a5d:5885:0:b0:385:ef8e:a641 with SMTP id ffacd0b85a97d-38a221ffb82mr56955759f8f.28.1736278121624; Tue, 07 Jan 2025 11:28:41 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4a8:4000:2867:420d:1978:6fdd]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8acb17sm50456700f8f.97.2025.01.07.11.28.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 11:28:41 -0800 (PST) From: Pavel Rojtberg X-Google-Original-From: Pavel Rojtberg < rojtberg@gmail.com > To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, gregkh@linuxfoundation.org Cc: Greg Savage , Pavel Rojtberg Subject: [PATCH v3 09/11] Input: xpad - add support for PDP Mirror's Edge controller Date: Tue, 7 Jan 2025 20:28:28 +0100 Message-ID: <20250107192830.414709-10-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250107192830.414709-1-rojtberg@gmail.com> References: <20250107192830.414709-1-rojtberg@gmail.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Greg Savage Signed-off-by: Greg Savage Signed-off-by: Pavel Rojtberg --- drivers/input/joystick/xpad.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index 18e33e2aeaa7..509e8681e5dd 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -238,6 +238,7 @@ static const struct xpad_device { { 0x0e6f, 0x0146, "Rock Candy Wired Controller for Xbox One", 0, XTYPE_XBOXONE }, { 0x0e6f, 0x0147, "PDP Marvel Xbox One Controller", 0, XTYPE_XBOXONE }, { 0x0e6f, 0x015c, "PDP Xbox One Arcade Stick", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOXONE }, + { 0x0e6f, 0x015d, "PDP Mirror's Edge Official Wired Controller for Xbox One", XTYPE_XBOXONE }, { 0x0e6f, 0x0161, "PDP Xbox One Controller", 0, XTYPE_XBOXONE }, { 0x0e6f, 0x0162, "PDP Xbox One Controller", 0, XTYPE_XBOXONE }, { 0x0e6f, 0x0163, "PDP Xbox One Controller", 0, XTYPE_XBOXONE }, From patchwork Tue Jan 7 19:28:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855550 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E0231F63D5 for ; Tue, 7 Jan 2025 19:28:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278126; cv=none; b=Sd6bvYit+S066ozcN505rM+DyCYMm36XJrpjjbSDRy/JpLUTIPGDrsf5j0ivGuqK6ReF90jpgJV6LaoCA/TERv4PL5SnhAPWBwhtgrNwrzFVJc7oZV0W+ARBzZtARjKzumNsKVKMLbrxUTY9TQwX8r96MT9FaM7Lh7VixkEDdi0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278126; c=relaxed/simple; bh=cmLmTqtHsHd8tosZyJWdWKuB7OT6o00+r330HAROfx8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=r6hNDNGaNEmhZ9iBdoz8PQS8iZvop3cm7xI6MjJVUaNBAoXAk48W8y+3dW9bIpbCtthRUYnZ9SbV0pTz7ZsXY4b9vFV2DrMZm8hSBQVEu5eaRwNuRoLU0nDmoF08IB3RSXo2P//0myK1HWIz1CTqBcRe1e4Gbq1tX7GanLSlEWk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=DLF3plUY; arc=none smtp.client-ip=209.85.221.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DLF3plUY" Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-3863494591bso8202701f8f.1 for ; Tue, 07 Jan 2025 11:28:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736278123; x=1736882923; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BDZ87D+E1jT8Tk4d9nRm6jOIYNP/hH6VP5Pj/OjHQAo=; b=DLF3plUYXoMDm7IZPXghWvhDclZMoM3G760Xf3owl9R1iImESCYL2lLW2MYr7/656+ dOTAikqnPEa8D9WKolQY7QvT7zGPxWZbW/ag2GH/+vp1zqs3C7t2rV1enQuL7iYdeoTY Q6rx0vxdsvNO69bVrWAU/xmUusliOznFCy12X+NdVk6ZV3q1H97DJkw7xnwl4y+eRMLD enGlfKXbBLV9Ut/fGq07BI2q2VaT40SPESAI1EoIBbmnoiNTYMYJlY1EEe7frGDA+a/6 IgkNGh7evfuOPm9n+zhQVYKJxM0UFReIDoI2Ai/ODbriy17wNlE6YTUHV1fa9r8oKRMX Es/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736278123; x=1736882923; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BDZ87D+E1jT8Tk4d9nRm6jOIYNP/hH6VP5Pj/OjHQAo=; b=WHysLCh6wfdo8l1HCGJQ7/RS/3YF8xHBpQ+56810HP3PSUtkmAiEvt/qGIadEfVGG6 qLZBCFLcW8tuiDsneeSKNTgsHJgumAZuycd/BjAsc8Us22+L61Dg+0MrypJLXfa4jjZq yT3oZ8ljkzQXx7v/p0qOw2MIh+nj/qi5IoR1KeVSr24civjgHmCgPASe+jPMsOQScxYC 9WW2pvdDlggUEeD2g1n85NvShAW5PMDLYPurE5e+1xOjF/zKnYQpb2YBllnBmc1xSget OjktI3kKC/i4i4pPrmgqrMqWSC9E/Udr1LaICedm/1ynYg34hxOsD8cw8gYH89wJBsXc lTlg== X-Gm-Message-State: AOJu0YwMn/xVllBz7bwOcnuXepiNjssms84SL18EvfSOGQDmY3K2DXh7 UbrWt/JSIaWZrLScRu/v8inriLpKesMGzzkzCR9++R4ixukX/serG45Jbw9LwJyAaA== X-Gm-Gg: ASbGncuwYDim/HJx86fiEh11HJ50ktgbZIFOMiLvZo3xVMiVRaVWrAngCrtY1EmO8RU 4XfEZMRenUglJRov2WNrmPB2lAfNp7MIJrXSGmyVsP9i+7pZP+VBUfmmgQNPNH077kvSRRdQ5v4 p1lsz5UP5bhEwVQcGDRlNCkZFUDXRl0IodV/ia8w0qC/NvUMRnXBmvfnXaNdwhl+/8/R960b7vT X1qNHgqHyEgyR11p1aILmUmQFNQgWlDTI6ah4KbHVBXJyLqVZGSx271PyijASqIma8H X-Google-Smtp-Source: AGHT+IEaCvIF5QP8aLBjvvfPDglb3PlA+08y2jALVppPV9qOGm5O4byL7kHb0R+c/y2B13JY+tbheg== X-Received: by 2002:a05:6000:4a03:b0:385:fcfb:8d4f with SMTP id ffacd0b85a97d-38a221fae8amr54505336f8f.21.1736278122414; Tue, 07 Jan 2025 11:28:42 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4a8:4000:2867:420d:1978:6fdd]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8acb17sm50456700f8f.97.2025.01.07.11.28.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 11:28:42 -0800 (PST) From: Pavel Rojtberg X-Google-Original-From: Pavel Rojtberg < rojtberg@gmail.com > To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, gregkh@linuxfoundation.org Cc: Fernando Petros , Pavel Rojtberg Subject: [PATCH v3 10/11] Input: xpad - add support for Thrustmaster ESWAP X2 ELDEN RING Date: Tue, 7 Jan 2025 20:28:29 +0100 Message-ID: <20250107192830.414709-11-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250107192830.414709-1-rojtberg@gmail.com> References: <20250107192830.414709-1-rojtberg@gmail.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Fernando Petros Signed-off-by: Fernando Petros Signed-off-by: Pavel Rojtberg --- 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 509e8681e5dd..647c788ec5d1 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -140,6 +140,7 @@ static const struct xpad_device { { 0x044f, 0x0f00, "Thrustmaster Wheel", 0, XTYPE_XBOX }, { 0x044f, 0x0f03, "Thrustmaster Wheel", 0, XTYPE_XBOX }, { 0x044f, 0x0f07, "Thrustmaster, Inc. Controller", 0, XTYPE_XBOX }, + { 0x044f, 0xd01e, "ThrustMaster, Inc. ESWAP X 2 ELDEN RING EDITION", 0, XTYPE_XBOXONE }, { 0x044f, 0x0f10, "Thrustmaster Modena GT Wheel", 0, XTYPE_XBOX }, { 0x044f, 0xb326, "Thrustmaster Gamepad GP XID", 0, XTYPE_XBOX360 }, { 0x045e, 0x0202, "Microsoft X-Box pad v1 (US)", 0, XTYPE_XBOX }, @@ -497,6 +498,7 @@ static const struct usb_device_id xpad_table[] = { XPAD_XBOX360_VENDOR(0x03f0), /* HP HyperX Xbox 360 controllers */ XPAD_XBOXONE_VENDOR(0x03f0), /* HP HyperX Xbox One controllers */ XPAD_XBOX360_VENDOR(0x044f), /* Thrustmaster Xbox 360 controllers */ + XPAD_XBOXONE_VENDOR(0x044f), /* Thrustmaster Xbox One controllers */ XPAD_XBOX360_VENDOR(0x045e), /* Microsoft Xbox 360 controllers */ XPAD_XBOXONE_VENDOR(0x045e), /* Microsoft Xbox One controllers */ XPAD_XBOX360_VENDOR(0x046d), /* Logitech Xbox 360-style controllers */ From patchwork Tue Jan 7 19:28:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855549 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB56B1D63EB for ; Tue, 7 Jan 2025 19:28:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278126; cv=none; b=Lh1HEVCPXpFEvLMKJ/wolY1kHQtytNGTnnd4+GrVlvsKz1hobgXG/UUrFXXottA3HlSHw0yy1Bv0KlvOdpXo18O75pl6VedbWPAwum3V+h+F+4Cb55Vkb241FYOtMhTe7ToHOUA7N0Sbbf1iw4Smajy+yGQWwK2sPR6I6V0z7e0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736278126; c=relaxed/simple; bh=QtLVcEyEsDTdUeNe0xMWkZe5VynFOWHIivPgPp5rQPo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kL7YnqY05CtuBsXL9MHxYMN3AnRaqQvn+8k8pLIGDxi4iyOvu6kv1CBC27uItfXcp1yy4J1BvbUHsEeA2qBR5u0oCI8PdLgmJQsQklGaYH5Nphe/EMd1YouqyxwPkc3GYdV49RFuk3yNGSBImNKmRYk7AeKzbjROc8d5AzZMxRI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cK9VzndE; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cK9VzndE" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4362bae4d7dso114425235e9.1 for ; Tue, 07 Jan 2025 11:28:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736278123; x=1736882923; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mnTdpy58kek0Kgc8hmiqUo+eyrQVN7WK+txrCy18XFo=; b=cK9VzndEPJleaL8obPclQmPVFqheOAZYMDOoLZ7H0wJThNn7Ecls56zqb7LVPUGMwZ kzlVsYi1fNZR55QI5ZXGGPnvwjXT7HHH/ggbL8E35OAzC8PQyxxCyp9j2j/o6nY7uF73 1yNpzxtwff3Eb49d8LtQb9FVNOSERA76XjoWoFCvH1PdGtJ8Wgc2kXHGqgAUfdzAq0/8 fp6u4W2/KV/MBgMh/o1sW0fkXq/NT+EXqo/yLvC1zujCeWUZTQNmWJLbEBDAsu0ysdCr LaEHk/cGtpzrhsiSdfLZHkOQtY8hdIsXEZ+ETH/oDm3szU85abZHWcrRKCUIIT8P1lR/ F1KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736278123; x=1736882923; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mnTdpy58kek0Kgc8hmiqUo+eyrQVN7WK+txrCy18XFo=; b=ZAcsX23NBwl9HzVxMKmYtv8sXAte33GDr3RWkdeXwHHRfLr54lkhwnCT0MgqLqxBmV 1PW96aMX4kdM6SdazwNPYmoLPu0G7IdWOjMYbne0BXKwVB5sycvMR2cG6n3KypohQP/3 xK9l1dvtLj6rPKCAd0KMHbsIZarf/NpoLhvENt5KrolNkO+AhcnDo8KBy3L6+gASxFMb yda95d2mjv7kJ/wE9olyd2/OnBSMhgEYKU37aLm5Pq0gstWvysOu/GCuI4Pll+vbDk56 RHTdi91yda8+xCo5WlP+K5YnMn4oIqxh2BhvmnopNPzIdUYNeUjxAMyfUi2D6Tip6zut EB8A== X-Gm-Message-State: AOJu0Yxe1vtWyHzSGZITT1IJa0Udgg8K6QR0gbRQm00H9CJ4OqTh4uIQ a0v5J8Cp0+wBGkbomArjc7qSobNzrVJdKRqGo1YX5R1LyLwZ3AZutEyNf6AL4jHdQA== X-Gm-Gg: ASbGnctCyzmMSQ9PHOYEALbtKajBRyZjeXMVEXfaYsmzZ2ZSV9VPHtbJm3MSXc5tnNu xiM8A58rlGRsyxuZmndqyp+9arkuGjnvrDzF8R2ZWuT+9pa/iXPXpxeY8wYrBniBDn1kBf671Cr l03NHPCqvErc6zcjpycsdcc/SzhcCoZyDXkaq2OkbzdqUMmQkEje2cquYYeekYaOmfAXSYGVKKV UsIPT2NX6VJ8H/8T0mg/5VDrcTSaNVwbY2ESXGHSd22+Svja3EYkRgEeqzSMtrRKoOt X-Google-Smtp-Source: AGHT+IGnK2D1/Q0dcHvB9CPsk9bcNOmM00HmnXsGNdNKo5Ba0JyUGt8RvEyRnDgBCwtUo/ZzKEa1BQ== X-Received: by 2002:a05:6000:4913:b0:385:f1f2:13ee with SMTP id ffacd0b85a97d-38a223f71bamr52024607f8f.46.1736278123020; Tue, 07 Jan 2025 11:28:43 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4a8:4000:2867:420d:1978:6fdd]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8acb17sm50456700f8f.97.2025.01.07.11.28.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 11:28:42 -0800 (PST) From: Pavel Rojtberg X-Google-Original-From: Pavel Rojtberg < rojtberg@gmail.com > To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, gregkh@linuxfoundation.org Cc: Nilton Perim Neto , Pavel Rojtberg Subject: [PATCH v3 11/11] Input: xpad - add unofficial Xbox 360 wireless receiver clone Date: Tue, 7 Jan 2025 20:28:30 +0100 Message-ID: <20250107192830.414709-12-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250107192830.414709-1-rojtberg@gmail.com> References: <20250107192830.414709-1-rojtberg@gmail.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Nilton Perim Neto Although it mimics the Microsoft's VendorID, it is in fact a clone. Taking into account that the original Microsoft Receiver is not being manufactured anymore, this drive can solve dpad issues encontered by those who still use the original 360 Wireless controller but are using a receiver clone. Signed-off-by: Nilton Perim Neto Signed-off-by: Pavel Rojtberg --- drivers/input/joystick/xpad.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index 647c788ec5d1..b0780dfc558b 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -151,6 +151,7 @@ static const struct xpad_device { { 0x045e, 0x028e, "Microsoft X-Box 360 pad", 0, XTYPE_XBOX360 }, { 0x045e, 0x028f, "Microsoft X-Box 360 pad v2", 0, XTYPE_XBOX360 }, { 0x045e, 0x0291, "Xbox 360 Wireless Receiver (XBOX)", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360W }, + { 0x045e, 0x02a9, "Xbox 360 Wireless Receiver (Unofficial)", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360W }, { 0x045e, 0x02d1, "Microsoft X-Box One pad", 0, XTYPE_XBOXONE }, { 0x045e, 0x02dd, "Microsoft X-Box One pad (Firmware 2015)", 0, XTYPE_XBOXONE }, { 0x045e, 0x02e3, "Microsoft X-Box One Elite pad", MAP_PADDLES, XTYPE_XBOXONE },