From patchwork Mon Jan 6 22:54: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: 13927889 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 5926D1CEAD3 for ; Mon, 6 Jan 2025 22:54:56 +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=1736204098; cv=none; b=MAkQBeScJTzNPvlIQS+qlVe0wia2YZe8fudueyhj3yWBpZUIOkLxjhNUX9FjidJNrwDSp9nJmAY86Peao29AFPqX5xF+I3vrvKCaE+9as4JZnR4MHu4p3FqJNOQVOB27qUxHlpYU7PnlfRkoABMIAKd9uHvmcMUdX5JibnEjohM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736204098; c=relaxed/simple; bh=UrsIFDteo8Lr3f7hDrb8UKdv77Y1AiDtVGViM8XJWz0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=P6HDLj3VPQ6Y3VBTYmyyriIdPAmuYJt/kspM9U5h70ZKEl9ZMTxT7nmxJTWyu2mv1LRuXmM4lmzBylZhxNeoSeEo6csnaUnC+8A1Suc0FD/t03h+5UKUDiv0VgT+iOyOKSgC1wqAM3C3Lq0lPANJSh6loiMrCQiUQLYyGoe4EUI= 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=E5EgFVWL; 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="E5EgFVWL" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-43624b2d453so153842335e9.2 for ; Mon, 06 Jan 2025 14:54:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736204095; x=1736808895; 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=E5EgFVWLnapxSguyd4ddFm7LB7fwez7KfU3UnKc1XTUN2TN3YCjvMnP3NWECp9k+wl yjzO4NZZzl8vY6bU0VMnp23AgeApMtiKAHibMH2e0wZ37L4q6d3Roc8MPEDz2wOtd6nH zwAycKsCP/uLpoZNDDgnNiSK5UO1lPJczasYctmglTo1cT2zUPZKkDy1JxdCKNjgHMhB 3Axc1bN6I4uDUCt8lxYRUku+eHwl7zmJO0m4jrm4r+AoC5lS/H3/ibZ1422Tm6iy5VvQ hM6xlwebuQTHIZ64ZocmGFxvyGRrU9uXRorDj1ZGCL12hKSecBWV1USV34DKGa8PafBp R8IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736204095; x=1736808895; 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=k+74vAUcQNO+3lZSv+UAhe8sSzkmHD7rEYrYlV0yx9u7YJJI2kS+c9vxfpBrTIo7sN /cUvPWHc/w9vBr1abcKMZXwBnfDvEGWaLX6VM9a7iZJufnsaSEB1EbNaQNA8REKguErD q/nny9aP1Kw3sp5riceuoBALcTUajkJ2F5FCYVgKICfwl/NPRcEz54uqbDmwlbJSd12z 5xR5WeUMSM7wdFOCBHoorV7kqAeF4Ot2yHcdT6bzjnLlgX/XoTBFd6mE3bfED128sLkB QbGoSGjOUi8w265daQvpX59G8tta7chr+IP2h4yUc+FRmj7dUkZTAgd01AAPUNUtuWzj 8AxQ== X-Gm-Message-State: AOJu0YwuW6MxCQQQkyoqVoMOaX8qUZNjXgtxwzvZwC+ifJYTOFzY30TV 6UXAasuwt6OmHNo/kVuEJsSDxUneW46rOfIsrmr7dth1lFRdwsmswFDRSo/YAQ0oNg== X-Gm-Gg: ASbGncuGnOrQK3bPQOit07HQLsM3EbAmjGP95M7eY5b2mS5bIPOp3muRr6HAxrGhOUr Hx1hAgzVncAdZmkJ6q4P1sC7+apqcNMUbPHhaydIfQzlfCHOOMxBwv9IwJAAAUWb7z4PnDZAp8V oI8mt3mL4WAP35bMViLGgwHAoqbng+dypBto4zFhPMxEDJEpOgnUGKGsNIMINcmyNkWpuu+t2+t dl5OkiMwyME0FNGbILkN4VP6t2Pl/6Eha85jT7s55MUQ6KEdw3WwGWxaD5qA5C1ix9p X-Google-Smtp-Source: AGHT+IFjRAlVdSUuE7ZJF5/4GFf6ymJVLCbo+pNLKZALp/f50tTswrKlWTLwNVt41VwC7QTnDeozNg== X-Received: by 2002:a05:600c:1c25:b0:434:f4fa:83c4 with SMTP id 5b1f17b1804b1-43668b5f691mr489628905e9.29.1736204094398; Mon, 06 Jan 2025 14:54:54 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b48c:8600:daac:3967:7eaf:8e73]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436611ea387sm586000725e9.6.2025.01.06.14.54.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 14:54:53 -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 01/10] Input: xpad - improve name of 8BitDo controller 2dc8:3106 Date: Mon, 6 Jan 2025 23:54:28 +0100 Message-ID: <20250106225437.211312-2-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250106225437.211312-1-rojtberg@gmail.com> References: <20250106225437.211312-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 Mon Jan 6 22:54: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: 13927890 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 65BB21DE4EB for ; Mon, 6 Jan 2025 22:54:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736204099; cv=none; b=qQlYAIX/EwMNnhY9vcfLptk5JU1vMd/APXJBswxHWG+HV3oq2ZdjUVUT6xxvd3elD8yDnxNLsDWXWV2vCAZs35oiVccvjLtcWCgD3iJhMzp6/UR6iO7se9vyv7LzQ7P65d2hzkhWvIO6fHbIYemunv9YgxUlJEZ7gWI/0YyT/WQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736204099; c=relaxed/simple; bh=PYkpndLghyIqImLV4tfMkW2YDKNk+7UerwgGFbcgWgY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OOkAq6vHyS1CrFpdfdELDuatlIMv+AxrE+FKfqV7ulynTvd1wnpETyTRGYXFoU0mXgL4bjrfgedl/8rndLbfh62v2NJb2RpmxubI5qn412eWIQfNDYRF2zowhpG3owHRiiUo4QQ8MIEHDtxdea2QUnNPdZ3lLZO5G5clfAmOyMI= 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=WJXsW8sC; arc=none smtp.client-ip=209.85.128.41 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="WJXsW8sC" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-43621d27adeso103323445e9.2 for ; Mon, 06 Jan 2025 14:54:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736204096; x=1736808896; 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=WJXsW8sCP3lSR43g/Jl33iHz31Shd9PTyOPLQJS1EkeqVHCXAXo1872Kfs8rsCmsbV tFjEf8JxB+anhO4yDqP/PnyOlfFnufc7Lg75HljmGL03/ee9gmox+e0OKKCFcY4hJeHQ 5ODlC7OexZU8W10or/JFosRZGskbjGwSpR9TAe6Yg8IkDIoin3vXHqAqOurjwDwUOYYZ HmYFtQTRVWt0CGcqC0bC4K9AWWbYo1AMm3JJhaQcFlQmRUhnPqa1eCT5iat/EwM6LDAu Sl/6HXA1jRhGu9g2OlUf2CXLd1hINmEDfMzKX1Ue2lp7Osw3/N6J5WaVvTMS1o4RIX9A REJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736204096; x=1736808896; 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=r4rXCUsDX/w+iSG3/oaWjvTQ4hfpcw3ltIzO1XRxhVKTzLlCsDNCyEGLy/VAXutxbX gkszVkodO9kcy6KXqB3F42f76I16J4KOlVGKpgU7VSmH0P3xi4rhvtzOfNKV27KVejHh F7oo6pSImJLywgQ8G/SICMhlLctdE1AOlaMj8fQqtYYXI/tpHArm+k3SI/HFAOobZOHQ xvfiqnY9ZeAYUqyxrYi/yVec7ppZRdkIwJwcn0GxVndU41dvMMlg4ArvVVJeYit8NDuL gz1gSqIyVq656jjtL9OIlMOSL6djTDyKxQfoq0SIKwQrZt+lZguopPo0AlbtA6ebkTk4 C5Bw== X-Gm-Message-State: AOJu0YykGd5Q10c5EGfgC0RZaTnT8HCCBeGZLKcp1Rzok5bc3nQYo2gK k2N1zoTlnz/vzUi+o+BnY4ME09r6yfMXlweVRxnhEUw18ot0dVUIwuyf6EKWN25XcA== X-Gm-Gg: ASbGncsLgekJfdp+IGg4JPDjUQKD5i9mW7fT5Cw3Ollfa6NyrmggHqMCB+IlsNoEo6K m62kfJ4QMGWv8scULbZ61QYiFco+qKr573pzASERvRQhcpGFGwyZ8HYK0y81lBwtAnjLNWAw4PH vXgct+Fj9W2Jkz3B3VJcjxqXOWwbE+MnG+7JTV6E/8kvXHq4iMan9uYaOhaGy92LTpArDqhHM57 QQxb6jZuKtHJcoQFMbvo0UfnYprRMtaLwZiwbdyQnlAPjQ2Uldh7iqiLHNCPEAXl2PK X-Google-Smtp-Source: AGHT+IGbyKgfGB7cZv6e5iT3Vwf7ETRjvoVxdBLDBH4BnsedpSmKWJUxtgmtYicPtHZelA/11lr/uQ== X-Received: by 2002:a5d:47c9:0:b0:38a:6161:2854 with SMTP id ffacd0b85a97d-38a61612856mr15351033f8f.1.1736204095618; Mon, 06 Jan 2025 14:54:55 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b48c:8600:daac:3967:7eaf:8e73]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436611ea387sm586000725e9.6.2025.01.06.14.54.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 14:54:55 -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 02/10] Input: xpad - add support for wooting two he (arm) Date: Mon, 6 Jan 2025 23:54:29 +0100 Message-ID: <20250106225437.211312-3-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250106225437.211312-1-rojtberg@gmail.com> References: <20250106225437.211312-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 Mon Jan 6 22:54: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: 13927891 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 6CD1F1DF977 for ; Mon, 6 Jan 2025 22:54:58 +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=1736204100; cv=none; b=lD2lMMEMqGFZ3Ls/L1vghg20VsxK9SkRAUmvV+bjsTcAkZKae/yBw4Lb8Qm20+hJv3pQtxKOqv3XOiW8WLpbRA7qZkWQIdo4ayhFqzJRunhD7amBIQVJ5LB66FjekTTnJsuEIygJMTmnX1sv6pNcCvtYgeiv7LtwISc7+Cjq7OM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736204100; c=relaxed/simple; bh=Yu9yCkA+UOJMXDwtWF50LMg/tD9DkGHmJULAmS9CiYE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tmRhMcuYuaIhCCej/p7D8xKR/8yHQlW2TIfqwBf9YNJjtb06xMz0eqf3hDIJKYethBGYDRH9uBPUJL3Sdd0H7SKQj1+AtAjnFkFNpDgdYkqfYCSHVVc4o1cTGCai0wjMNNG9LUn0l6YYmhZvHXQvuhoP87E5DYmt/TYu9DZTdjI= 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=jVQpiRbF; 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="jVQpiRbF" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-435f8f29f8aso107790055e9.2 for ; Mon, 06 Jan 2025 14:54:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736204097; x=1736808897; 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=ndwmU0J4pLCGs4MoS4mBEuG5U/h37YO2kpDNLlJnjn8=; b=jVQpiRbFI0ILZxravHUC5o6irWpV1GnS9CTwlJAQyr32Y7k7+K0h7/VnEIovZDZEhG d9Oe68XI0t5fPQWyTw1fd0yeMZX7Ku31Hs7SBtpnIxrowCnodwhkJH9fXVcvlmDX45ha fqjJiwPea3ZoJphZUMnlu2lQULqVtWx4yGVZiYJgRg/aHWT9I2kph6fPWNY369WtLJEc vZZaMCQonNhmFOD6pam7Ej6Jqbez2x6lhfEmtvyppjzWNmBxAOsTGIMsO1JDnfAxPB/1 G9JgM/eNGAPPcwfgEjLTCiGa43ClqzeA/6DegpZyVwyZNyGcpYea5UO0huWEMglkrz9T BG0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736204097; x=1736808897; 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=ndwmU0J4pLCGs4MoS4mBEuG5U/h37YO2kpDNLlJnjn8=; b=IAfWqeI4rUQ+/QhEDqLPj5a3UdjwQ233FhKMuODXYF/i5SqBgBr+VLAxaxwPItxkjz nuHgBrKJqJwJm8LZpx7j/cVyDL4E0tjO0AlXUcTMaPhgKBlq3esv5rYAm3VPUZqo2ILE Hbk1hWrpXDyJB9Pu6rVrmHbaU8m0EPzy2OF9K5JC2aLNnIphOplCkdA/cUQsQltMbI4C sW6YAEtwzTcnWeau7mRGJtYxQSUA/0F1xTCUY7MaIVO3wAama4L74bZTKrFdc9y74FmV qpLmU+YnuFykSKIJ6EDX+rShbVHiqUBiaLRdjD+OU2UkDl4uHX3y6hS6EE30DUI5kvRn RvUw== X-Gm-Message-State: AOJu0YyVeykEN0P/HkTiJ6KivsBEeAmBocTgSGEN4L2ZVYWGY0BoPvMn NWxsdbSnSmD0XSGTIzWa2DL8Fa7uP/Qmol2wz+uq86vi5zYiLeAWGp0N9W0iPKZmtw== X-Gm-Gg: ASbGncuCHYb6I9Njbv8NgLmIeZDOMIPiXrgOftOlK5ipfar8PtDA/J/NHIyYkdRC3j7 nD+mHtvO3ESB1oUEGrUtc5bJ3qIrs24GpzvdzNtBrUZegHuECiMqdZa+u2SA9ZNUOM+0md2c3mC 3k8FYQDt+PuY61G11zTgpS7PGqWD8fCubIqgXrtw55etlteh9Sft/pNuxsE3eq5AoGV0BPLfXhs /5rLlh1Yjh8qQD8hB0dFST1zVqnI1wEhj/ZcZRTh5c/NpIjJl6I/TqSGK0NuRmecaS9 X-Google-Smtp-Source: AGHT+IHZbRB2KSd7ajyw63e2AJqpbuVW+XNymjSb49Y+gBVRbFbWxr8uS8js25xEQTAm0lpL8yZelA== X-Received: by 2002:a05:600c:a0a:b0:434:f0df:9f6 with SMTP id 5b1f17b1804b1-4366854737fmr533524895e9.3.1736204096580; Mon, 06 Jan 2025 14:54:56 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b48c:8600:daac:3967:7eaf:8e73]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436611ea387sm586000725e9.6.2025.01.06.14.54.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 14:54:56 -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 03/10] Input: xpad - add support for SCUF Instinct Date: Mon, 6 Jan 2025 23:54:30 +0100 Message-ID: <20250106225437.211312-4-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250106225437.211312-1-rojtberg@gmail.com> References: <20250106225437.211312-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: 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 Mon Jan 6 22:54:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 13927892 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 39CC21CEAD3 for ; Mon, 6 Jan 2025 22:54:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736204101; cv=none; b=B9ag6q36pmZ4coNoe+fcOVHBwyn3EDTgdtFzp0Y2wyYc/sfLGSdRbRScdsdotJdLVR1QNqrGkQCEqMbZlcvT40zZVx+IF40NM+1qSA7IBXQJblVNtwORmoWylcYDBIkOlEMg5BmiWAEGFlC/R5B0ew2G8fA2U4q+d1XLjHbmlt4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736204101; c=relaxed/simple; bh=uozL2USESf+B/Z84pPPJth+FbEJBTQZ5cxJHxuAtZZw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=c5BBGTXleEiqdaJWjIly7MecCRtP6j4uGo/fVfFMaxHoHZx4XolHSEMCKV77XQJ9rdk2hDzDDxJjbCzAPpW3gt4naTD6aalVGUutWQcM1lTh1SkAZt0LU2ROoqTbDh4nefWAMqMtgjq5oNS3UMVZTB4asMYntAs5wSNW7uugdUI= 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=F6tnglqT; arc=none smtp.client-ip=209.85.221.42 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="F6tnglqT" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-385f06d0c8eso7573997f8f.0 for ; Mon, 06 Jan 2025 14:54:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736204097; x=1736808897; 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=lJEVHoYq0oHbBnN1JJio3INM1OYeWr87Ja/3m8tuF4g=; b=F6tnglqTmLEcS0y1ySY/HNRYQwK38EjadRd4kCmHmn3cWsylEaQj6a5culC3KYzYkQ Z/n6yxgi52+057EVJQZHt6y1cvW+3/izAXOwZAscUlnneiNuERfDeGlSVogXhTqXFJHZ q+TgKktZjmtWwLI2biqHERfqCdnkJu8dPUoty/iFikT9ofZGkuhIx/J35U1DBd5YEYlW Q0p/0FOgVi8dyo7g4p7d3s6DPhGwVi8ncW3TuFwruaMjFIlAJpZss7+65X52Q73uNwWF MQyUflo23LrhSXmqPnhMi1VGnu1JceMPMCgD5Eu86bhWu8hWKn0me/mplAxO93zN2Y2n NQvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736204097; x=1736808897; 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=lJEVHoYq0oHbBnN1JJio3INM1OYeWr87Ja/3m8tuF4g=; b=ZKISYyjc63j1sCldw8bUjKWNVbZRUgiwuwGLxjMKrdUjBiLJseKFXCYW5VjUZsi+TJ Avgd3j75vCxNdG3hW3SSII0GgxiK1faHWtNOZizDNaeON+biUkpFj55eOEwjG5d1SEGi y+au02cwEov8akIR4luD7GZv8d0ZGPp1AKLkDpDUe/8btY8tKnqGaq37MyGVsilscz63 NdSudrK/4JHwDRube7KIxdkZSKDJr+hDDtJ7KCk0G7pUq/FNyjcEaB6lKss9H7e3ZeBc h00qr0//ne56JaWKeOgX09LQJrmBBFf3vpfeiUeP0TvYfVDJVDnuxtjYAdeQnqtXP6oW 180A== X-Gm-Message-State: AOJu0Yw3djOxKmmVLz9w7ucaw6WP9rGGe+W0IsglEJDZhqU9Wl6Lxais qvjl7LwK3MF076LKPe1ni/LGY2Li4gcSVPNfAD2CqktVgRumf3UmxARGSsJYHsQ/nw== X-Gm-Gg: ASbGncuJiMKSmOb4B49f9bEMnWskzJ28TH5JwCr6M0jgfdfGROfx+lltn+bHOC2ZuTm VEsn42/LDqlGA7uT8At+X8zTl6nykNyNIP5VfoKsHfjqiE0eHKSkZl0x6+r7exaNNpTR+WDFrop Bqj8cPxOsXfoszE1PhpS4mtndcpEUIGUlxjDLDE4Rwf/R2gbQWDVlM3KDS2l3K1jw5xpMkHrzko KSqOUMGWI5g+YLARA/GXpPA2as9ukAaRvDi0Mo/8wOTg+AaWtvMmFrUI2IDeDc+aEkh X-Google-Smtp-Source: AGHT+IGr6OMV0XSJcovnYIcbS+AJzGs1IvKOUvhB/nx8wlx0FTp69dUJVdL2yQErSjXJ4UGdmCw8lA== X-Received: by 2002:a05:6000:1acc:b0:385:e0ea:d4ef with SMTP id ffacd0b85a97d-38a224091dfmr49412430f8f.58.1736204097393; Mon, 06 Jan 2025 14:54:57 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b48c:8600:daac:3967:7eaf:8e73]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436611ea387sm586000725e9.6.2025.01.06.14.54.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 14:54:56 -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 04/10] Input: xpad - add multiple supported devices Date: Mon, 6 Jan 2025 23:54:31 +0100 Message-ID: <20250106225437.211312-5-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250106225437.211312-1-rojtberg@gmail.com> References: <20250106225437.211312-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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index 7985b7a5cf0e..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 */ { } }; @@ -687,7 +694,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 Mon Jan 6 22:54:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 13927893 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 4F5FC1DE4EB for ; Mon, 6 Jan 2025 22:55:00 +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=1736204102; cv=none; b=hm3LrPUcQqk5fi/GXx3+Wy01ChRivX7T2cy9Efo2LQDVYS6eqHM36mULPXWLt17UG3jh9dm9fR+tTvQTpnf+QQg+Z9Tc6PALbYM+kPF7WEPFlF2rIRzkGTmU/x0vSm7L6d7lIQjSV+Syz24/kya9WHH7N9fAdKAackgU4g/Q8ps= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736204102; c=relaxed/simple; bh=bM54ZyaIQjGoqs0cBihxOZIsdwj2ZkvengKo2A7Ku2Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jt7EfSK8NSfD+E7XNupy/MvXlXHDQrqIwpM3nRX6MUeTjqEBDC6eQ5yLEK1nqIB6FO1T6WB5XDK+D3CRM+gpepwvuRextJ0nhI7/hUUk+dZDgfBQc8FPNG42Ug81GzWblfEALqwq746Pi+xVW40Ojp1o3FLILgP8mlAmU1JeW2g= 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=hiWQbTX7; 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="hiWQbTX7" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-436341f575fso153935325e9.1 for ; Mon, 06 Jan 2025 14:55:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736204098; x=1736808898; 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=KEX+NAdBDoaB6TEqF3DaqclGaBaxA+ArpAVDhk3GbyM=; b=hiWQbTX7aX2W9XHnldmziqlIXIBO87CMIfmvisLJlFklZHb3QRfXu3WbAJ05oWh24i TQtfPadqhi2FVatZVIRxBQ72RWgq+8BPnw3qoEpZhSZHhJFFMLiQ4pz9d9qqwY+GXVzi U7aQaieWq06FKHZiA7R0RQ+P/B95K0RoTcRh/6eUHfrVtnNRLy5QTXiw6hoLlN1Zfxzf hHp9j24dptLAxgv1xk1PvU/n4YXDGK2IQd9Up3TxfSBhbz0RDcnc1BcHNmnwT2rjt6GW YVkqlrzSubvAniX8H2Tu+qtNJS7xi56+K2JdwyrUs9LObGIdaEQlBHo8Jpka/DOH717H KPJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736204098; x=1736808898; 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=KEX+NAdBDoaB6TEqF3DaqclGaBaxA+ArpAVDhk3GbyM=; b=nlH/PlnV8bCtBwzyFvBt+zzZJ63n0/cD1lR2c/fVQjy681PX/aCG6UIWxdP0jnGRfc gpt9d0VUwbwUcZdUDjAS7eoYNLnFZuPGDqOGGmZlYX3D1PSnpG5aa7HrOrZR6wXwZiyN iwTW2UugvwocSUfvM2Rind3G9eVZksinjwE8lmzKL5ORVv2ohhvuH7wrUwvjKf+5oiH/ MEyXRjbR1bIECFZHGfubl2fC+3I589WD5ZP0Ndw2HxYu6MCcWtzMy9p5W/ViIrmvtUGa 8FvCj9dIDt2hUL+fDNJXhAtwy9rkY5w9Npsmhezy8EhRea4xGVdFd/ejXuLfJJtPAEGS hD5A== X-Gm-Message-State: AOJu0Yxf3ppkG0MhyQAMG8vykMLMwvlkl8RXKVv3iWxRx9F7tMdN4CWx fOcU1g79UHRPv+8XwB66u6S5do4qRcGFRWfezqrTWdkRkCraYCQ4ZcAmcC3l+N0s+A== X-Gm-Gg: ASbGnctxs3sBmtfbQeq4K38XfSiKMml/Z+86E8RQktlRRBI6UtO3Y1RX5iWbwBd8mP4 cbJja2YoafPsrywKL4jGeag2Q0zlbh0HD4whgi/s+D71HZ1qOnvrgd9c/jlPdPQcXGUv1j9JIPO dykmUQIeoeiQ4uNdklK3jacIPMVLTo1ZgFPUaAa9mA3T/UGCtTgGKuSAfqMtKaQf1NTC9Wjt2MU 9MCfiKNnDnMVPT/4KiXbeHr7CFE+De77eEp/cO/pwcXPBfw+cnMZ3uQT0b3Nr7edEI7 X-Google-Smtp-Source: AGHT+IEmlJK+XqRgOcoMj3H9zsz/nhJIyghyanaJ8XOdv3lE7+b/vMM3xUNh9zQbYGsusRDYI7TIhw== X-Received: by 2002:a05:600c:5129:b0:434:a852:ba77 with SMTP id 5b1f17b1804b1-43668644082mr563881875e9.15.1736204098325; Mon, 06 Jan 2025 14:54:58 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b48c:8600:daac:3967:7eaf:8e73]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436611ea387sm586000725e9.6.2025.01.06.14.54.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 14:54:57 -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 05/10] Input: xpad - add USB ID for Nacon Revolution5 Pro Date: Mon, 6 Jan 2025 23:54:32 +0100 Message-ID: <20250106225437.211312-6-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250106225437.211312-1-rojtberg@gmail.com> References: <20250106225437.211312-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: 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 Mon Jan 6 22:54:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 13927894 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 508C41E0DC3 for ; Mon, 6 Jan 2025 22:55:01 +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=1736204103; cv=none; b=dt7yoYZVpcXDPgHcviMlxv2IeGMzJ6p/zTgctktA1R8alWgQQ+Cn4z6z7yDzIvklFZnZSI4yJWZYUXFM73AcARsHKLf37Q/cifXimb6lwFH+ORe+T6RPkr563VMlEWkWpe66zImYK0Q+d2Fp0k03rRznFNcwK5TeP2Bhw/Zc9YE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736204103; c=relaxed/simple; bh=1Ese8EMl34HOd+M629dtCkoZAKm9OfX8Wib/r97aCZ0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=L6Pd1auha8UDulMvTJW0dyBHEr0XCSOTG6D7D8wa9CSmioYhZ0iNjiNYZLEavEZdYu8lazm3c/9vg2sTH259+pCKle23fbR6OywM4oXkwISZ2JwuzebT/O3PFqgXBZ2cvFUDZwQ5JTGvPTAbcbzF77NtvBtZfyWDnpLWdalERGQ= 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=LPIWAguc; 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="LPIWAguc" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-4361dc6322fso99332115e9.3 for ; Mon, 06 Jan 2025 14:55:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736204099; x=1736808899; 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=6iNoALGEjdQHmdTVB6T0aNRr90vJ37917pkhjH+wEmk=; b=LPIWAguc6hWBvfKWXU6T9xmPmsDCWm43BYgEyifWq3bo8iNtfEhTIzhZIi7thVoB4b 38UqCP4dLz+kCdsuak/QuoL3FxwRTeBikwoGUYJimq3XalE+WXNnQBBBFQMhsJW5J7by 1LGWEBDQIHCemNyxNsZDC4iF3DVkqfiMKlWNRuCrWfnuyVBqXHDVRjVlnpclFolLn97x SFsrodMxU62jt+oyHe3SzB4wl39yDjUBdwMvcfUPlhodvvW8Dmtg9NLm+gbQhQHa7uJo iWU617VjSvx6pxQh3AhLJuHWptfEkcjs61JaZg7HxEDIygkKPOHSidJWgz6sX46OD6cJ X+fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736204099; x=1736808899; 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=6iNoALGEjdQHmdTVB6T0aNRr90vJ37917pkhjH+wEmk=; b=mng5gIP3X5HSdO+TgWrui4sYMZWO34Y0+A/7QTbiQNfiikGrXckCKFLC44wbQxaDJP nAybmZ26Fp3C5DEvjrm7Okr6BUJ745aaj+ee420zLafJ9j3nT1Q30Zlryf0lH2OCFHYx n5ZlKxkWXh5+5WWEs4V5QmUhxxMcdixsuhQ96wKo+tVCTSMVjA59+CQzLGjrGCm/4TPA xZZ49cit9vfvYzW8oS3k/WRhKi2ZcHdkO5vnLU/gzwYM0X24SvugoLuUU+eyg9Q64bTh RIjmdV9/Oxgc0EvdKEQvjQIm/6caYzqiuTY1rubVlsmxLT1zuf+lB3+UItmAzIBZB3Wi CnMw== X-Gm-Message-State: AOJu0YwbDk5+thOgqJSQgxyKkcQ0GHBGA3uRGVYSFAaYEs5O4GLw6ysn S63cmOi69wmvFvIEA6ZiFmNnTP5fJVItg/9j+ZioPj7ymqKhoF2HBBOrbgLYYZmJZw== X-Gm-Gg: ASbGncv2z6kPR9OMhCe3Jy9UGL1xAvXpNmZLqknGl3/PbH9NsjWRe3MrIy6sGjzoV04 iZEJ34GlaeLug9alwMqMNWYMg8BXEb4jYAVZ1lf8KhDQKThSVnLtPCbeQH5SI75RwGNKL47vspJ E1TjsPIGkkH1cOkhD0QoeaZXY58jX3jMJSRVX4sSOASRKlxa6bFqL2i2ACZvg4RFwnEOstlfMJz lODjjjyS3Wc7OpJsJIZsvDsfjpOZGhQeM4f0OrM98NLSvp6/urq95b77WgES8omrVZf X-Google-Smtp-Source: AGHT+IEM6h4EJcrbr8VZ7vJrS5hVGGHy00u4gGTupm3zYX58uaxvfvy2V+hAFv88FK/JAhk0cyJ6kw== X-Received: by 2002:a05:600c:548e:b0:431:5e3c:2ff0 with SMTP id 5b1f17b1804b1-436686431a0mr474435875e9.8.1736204099478; Mon, 06 Jan 2025 14:54:59 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b48c:8600:daac:3967:7eaf:8e73]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436611ea387sm586000725e9.6.2025.01.06.14.54.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 14:54:58 -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 06/10] Input: xpad - added Turtle Beach Recon support Date: Mon, 6 Jan 2025 23:54:33 +0100 Message-ID: <20250106225437.211312-7-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250106225437.211312-1-rojtberg@gmail.com> References: <20250106225437.211312-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: 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 Mon Jan 6 22:54:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 13927895 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.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 189271CEAD3 for ; Mon, 6 Jan 2025 22:55:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736204103; cv=none; b=HJ6TSDS1n+sw2H2rWWkwQBlyNDvPrvQCOa8eoib1tNcTlDtzdev2VxskS21woLaXRHr6964kWHr0xPAcpqqOw8ENn/J6sfvBG66Y/dCKpbYTNG5AM4+n+vBERHmNhCymombqrGzbO9rO+glWLC5JBBR4arLQV0EW84TW7xWTOZQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736204103; c=relaxed/simple; bh=bdAhw0nOJ3gMlwXW6fj6vIVj/mzHEAxs+HQq0rqYgFc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=renbbG77LWBvEkc5z7miyvIobH6S3A5TQGK260bEh75K7t3PK0+px2mEAYONJXaQmgf9icBqGO7/tGBPEQWF118GHhc0t/ZyNIZRGCCnJm8b13EN/WUWXP5/b9BiDiOlidP1PhtdOMOsUgxoAI0zW1GbqKmwLoWoe+K3nB2Fv58= 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=fgEVZFTG; arc=none smtp.client-ip=209.85.128.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="fgEVZFTG" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4364a37a1d7so155840065e9.3 for ; Mon, 06 Jan 2025 14:55:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736204100; x=1736808900; 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=y5IdXdhiuC4G8QgetXQKn1DDQ9a+7iNLXhj3vhY83Do=; b=fgEVZFTGHHFMiaNbZ9iWRoC3jnr874udcge/gKruWhUiF2X8LvJEY6ukEbmTHW1Dy7 YTwXfDW8jrwuiyqCYafwhwVn8Z0Y4HofvgmJIr651hBYqJ5d3PwKrYc8Tth0QLu1Nr4Z IQLbx0UVpI3WRm+5vYYemdvZDnZBFCGl0qPLwL41JT4KlLfqaLp3sG+XPXCiK0PVAidU 0zPRBRbd6vONwxnzSu7dtFGSfjLcyxgn12qmRO29sjaoNe2Z97UuERsd5Yg3d5xcmD9A UwI5t4xuKjQLlr7t+KzWF8M8XnzgW0jey2rTApuX+B3H6ojrxyOzP1/YI6ASgTAHvRHS jbhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736204100; x=1736808900; 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=y5IdXdhiuC4G8QgetXQKn1DDQ9a+7iNLXhj3vhY83Do=; b=BkvalZsvm2VT3OEDVuN5gcNEBjeWK0TSiSNw+zxdBUUFspUk2cLHvSG1EPpDhysjFn CxtjDegZDgHhKd/9VKBPBk1YzSeQT/1N8/KRrQcRmDFkr1OQfs1tWTLsPeoPsrx7fG4R mNPmLCEWgNmpNq0qmLjTkm6OBTHc86jPm7BwMFUXwTA3w0UW8QaGYhPoNhqhHTqJPsfV kDTjZdrJ88UHrRjDbaqUtSFGG2smksKmiKsdwwlPFeEOEayxWFEvD0mkseWx0ZL1zPEp G5E/vN1h3/DqUxnZt5xXKjZVHbElGugJ6HifNX49S2Kq25fBXvn9WjjNQR6fVK/0hFuS cAAw== X-Gm-Message-State: AOJu0YygIrCpsGPRhknWb3qJ34cRqzBmxHgRozc2GzN+m/uNGqcR5r6P CPFA87PbwW8UvM5mo9nrsqm7IL6En43+z/XEhNLTPp63O/ABULsnMXQfIp8uUe1oDg== X-Gm-Gg: ASbGncvHn+tU0PJ0QP0iBhAYzONAZpgEXMzNevdKMD+P+8ECTaPmmjDrVLmJH7LsXby yHO+BDy7uxIMmrh+HJU+nBV2XCD27KrZVmHq6/1mI/Sg1MAEi6YXUwKD3OH6gQyU1yVP4FZHDV4 8ULgW0l3C1U0zga4zl/3NKsj8bMKoZpReL/SzXEaU9uuvGSpYd7dJ8nxJs/w78XV4FMJ7XJQ5bb unS7Pn7uX88J6uj4ndWDqKwD4AAnV5m+Uq5XW6yzmUsGro53Mf7Z9DyurcyKLLmGS6q X-Google-Smtp-Source: AGHT+IGTyeNeP+XY7aNZQxOvM39KLgfBH8aABRFDsCQVb8dPwoa8cPTbOZpWm6ma1EzPjTfFGZLCUg== X-Received: by 2002:a05:600c:6b64:b0:436:469f:2210 with SMTP id 5b1f17b1804b1-43668548aa7mr396824765e9.1.1736204100305; Mon, 06 Jan 2025 14:55:00 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b48c:8600:daac:3967:7eaf:8e73]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436611ea387sm586000725e9.6.2025.01.06.14.54.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 14:54:59 -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 07/10] Input: xpad - add support for Nacon Evol-X Xbox One Controller Date: Mon, 6 Jan 2025 23:54:34 +0100 Message-ID: <20250106225437.211312-8-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250106225437.211312-1-rojtberg@gmail.com> References: <20250106225437.211312-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: 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 Mon Jan 6 22:54:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 13927896 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 6351F1DE4EB for ; Mon, 6 Jan 2025 22:55:03 +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=1736204105; cv=none; b=WXbArIcg9Ii/wxdXwGanYLtRb9l4VsHstdWZcNuodHjbOe9mrCZdnydXLrk4ylsVCpPs6gNofPlX9L6ka5LTLOj83g07HSjZEYOE65ZGMueyYoOAcGCiGARdQra8oZuzhULUTj0SsA9d49ub87uqg7Z8DuArerHlDfk6PA4Pvv4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736204105; c=relaxed/simple; bh=3mzlM0CzumBbsyf6fF6Zrmt5bkTlWOWJ+vEiSuStkN8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=S9YCmg0obWZDVZlqZWmAXdsCT4CdJF1DQiHdLTsbK4/0dNF3HNA59zNL5+kYgUbdREZ6OGtztxfndMxv2EFV5nizIaL8Sxi6vZ265TbYBiWvYoPrPfBe3xW8M7i/vil+HzDDSfDppxBV+ENpR+hwxlSKV1kJAnAqJ3k3oiMmYcw= 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=U5FClYFj; 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="U5FClYFj" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-436249df846so103313605e9.3 for ; Mon, 06 Jan 2025 14:55:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736204102; x=1736808902; 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=TA8huwrj0q3Uc0qIXFUpZxFeFcf3HkWyWWQwfPo7SaE=; b=U5FClYFjhWvZfnNzUm9oAVNJLYG3JHIJjqrxcjtjlTp1XEMFMe13yhDIF1p3VI17dW puz4x576U/X+bEEk+1BaQ1VMDBTEpuZt8QOmoC6m+Pu+YhOmBG6Z2HnIujXSc6TfV5es rtWjJyMtp8hVYaFlFs8XKEqx6nM15Qh2WQmMU0uq9RtWCpzXGOEgaQU4joT13pjdrhzC w1hqNTlkyjgV+LJnt9B3rFmNDJB8d9eFPMlNCGTgDheR+1U0vF6dQMYDC4qAjZln4Vl+ NrCdF6ajkrFqDipIGpTiMGXvO025sZWi0sjEb7rGo+P6tvIE0BAqbvgiwtQl6J8X9DbJ w69w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736204102; x=1736808902; 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=TA8huwrj0q3Uc0qIXFUpZxFeFcf3HkWyWWQwfPo7SaE=; b=B9GsDVBBF0lUkx/TaGGVPtdM3oKFv7uKW7FllT0Z5uLd5cfg91QU42EOknRbd+E6uH PC3f13Obc4FHqJDHrB+dtQ81T5FC3L3PBBfAV4jLTLt8nyHdl5bVyql0BY42IBPMxuPo L99AmyrXtZW1pkNQ3VqjGMj22qSdVC5gcfYvMFmBEOHD5th2IEVE2VJX5aYFsU26xdaE cx4hvdPfRPnemM22WDfCIXcPCwu7Wjhx2qCUJW8SSwv4+DhIVz6X65kg/IOZKf1ZxZTc LcSeM5ycTRIxhMy54lebHE3IXRZOVjF1NxgpLdHRz9VSe8g52WPuJgOei+7nsu5/NiPj I8fQ== X-Gm-Message-State: AOJu0YyG8tEfDUa7fxuTSslNZz7iN5fMDHH2mB7yy5yzC+bnZFRcgFKX Q7t3uHIAtl1OVmQQHbY2vkPmzhTIJxRzntsRGU8E/fjMneFWc9dbdfSuuvTzRRsxeA== X-Gm-Gg: ASbGnctL/fsD5a9ldcdWQDa0f8Nv2GuuF+9ZvLLS2Vre22buvPOXkjtAxdQ9QgZ3zdQ /e/y9ZnOWtw2wiGql+Nm9+D3G7TL3IZiQRxYLF9b1+WlS1/Kunds8vO6WH4N5D65DJGiYBKREpF dtvHhtpQMKaQ9b6UMWOTKHMpN4A6eDvsGof5qejsQYdJEgNbRoD4xS7eWVehdJpG7vRHDmrLK1a nSQ2KA2Z9Wj4Aa1/rmXKKGBrqWqU3DRknJODOZUcTGeO72L2vOGe5D/XTqR3piVXZHQ X-Google-Smtp-Source: AGHT+IEbddqj6251evGmZgHf7AxBcYKkbHWBNDJJ6GnVIt21QwNl612S8I01dAcTLHoakwwZtIgBQg== X-Received: by 2002:a05:600c:3c97:b0:434:a734:d268 with SMTP id 5b1f17b1804b1-4366864346fmr498284045e9.14.1736204101545; Mon, 06 Jan 2025 14:55:01 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b48c:8600:daac:3967:7eaf:8e73]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436611ea387sm586000725e9.6.2025.01.06.14.55.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 14:55:00 -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 08/10] Input: xpad - add support for PDP Mirror's Edge controller Date: Mon, 6 Jan 2025 23:54:35 +0100 Message-ID: <20250106225437.211312-9-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250106225437.211312-1-rojtberg@gmail.com> References: <20250106225437.211312-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: 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 Mon Jan 6 22:54:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 13927897 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 7D4A61CEAD3 for ; Mon, 6 Jan 2025 22:55:04 +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=1736204106; cv=none; b=ZUoItkUoaZkwni9KCNYOOYFghKw2my9EtjNY/fE2vCQ/F+wGHNW24C1cjpHyAvHaNzssvhuIvjegG6WP3AbtvWC3/5m1X4btcAeVCN8xwvFQrlSzWp1Rl7G4P3bT1pU6phPJYviI0hSjctjGk+X6uqRuan55Dv3QGW1x4RFh8BY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736204106; c=relaxed/simple; bh=xaGQFB/3tHoelS+lAm4HlmNSPyjqkE4xvVsDWOYfmOc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mgO0iZYszbmjNkMXOxtVi5dBe2w19dTBDwQPaIuR2GI7422htF7j1lOOzCkewelITO+XC0MuFO2b+TgLwWLSVUeWr3UA6iSsHKBrlnQmdTeESnSWxNaJtU2dM1tzuVcU3SsMWz6Yoem3XQAD/NbhtXrGxP790/bCDnx6tZfIjRc= 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=ZCatFlfj; 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="ZCatFlfj" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-436341f575fso153935745e9.1 for ; Mon, 06 Jan 2025 14:55:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736204103; x=1736808903; 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=Uww1KxRaoTyZr8TTwGtplN/ZUFEPEypX88fWvlepoWo=; b=ZCatFlfjU1+kCWoh8Y1BReZ1G7mOg24BhgmZjr64d8U3LENVh9v5RfrygHK9RlC/Bt T/Hg/QhJuDb6cv/L8fixj4wtwB76GKLJE2Weh3SN3BPgElDlMSzPBy54B8tq1uhLgrRw Sjv3QgoOxxkbYfj/j2OAYKIvXtJ1M7Na/on91J8h9gfngTHA3bl+hfvaYjH5vUJ2T32u lrC9s+ZRs3GWQGQ4zBIcWMaBiOGUCbvrFiPDlQ1V6xcjfbF4Wz5zLKpG/eym4YYql0Oz zKYLsCdYY67fFek2SIgA28IxBCCNy5vNx7hZpBIIneT9GPYHmgjDl4Ub+z1MlvpYFwAi a98w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736204103; x=1736808903; 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=Uww1KxRaoTyZr8TTwGtplN/ZUFEPEypX88fWvlepoWo=; b=GKdQO3I2rpQuId1pa4EQdAaGPfUVtDvY87i6yl4a0V0Qs4i271djp/URgXYsslV25C eltdOH1RZGINDaOLwPaPPgkyOCRm8zf3hyFiW5nSq6LQs0+FNNfSmpZmVpXeC75nfbd8 dzEAgDKW7l7NLQhmOVg0uPUfmtg0e2W5LwYEIn/f+6YgQrtLPJUAOpGzfNwvcqubaVR2 lObAs46QtyL3ErdHwgwebvWQCcMGmms+2TPsYBXTttlBApU9my3cLIu6ADRvHsRbG61u bzjsPFMZgfF9ur/yma4N0I7E4mWsX2YuU16pyTUVNzYt9yMPBYLXSFSO7JqituZqkh8v qH3g== X-Gm-Message-State: AOJu0YzrDJ90VBhJjhTHg4pegQS5KdN4XE8mf/TVy661PP1/IHUpnOdT t7PShlYTWoD06T45zn7dg2y18TidopDkAEpiZUOo6x+vkj3M+Q71hW2i8V9v1IHiSw== X-Gm-Gg: ASbGncvFJByuW/PGGBGysdlE+4NqbfF7byqQkSxMlFvNf4fpVZ7st7lHajVI3Bx2DGs wOMchXkKzCPapIWONM6vFn8M7d8TSBJS6OpONbhbdaFjd6UhF5bZOlO2ldjqwVcam19p9Wf10dX zTu9g3ONy0aWVwXgISp2wsZQEaVGpy5EK34PIcbPwSlgVCTagyLw/1xri8zvgZ/kqi5VuEN1ucz cRUsUo39IbzBKVM3MmiYd7LZjJmFJllv7MlMie3RQ3y1V53aWhQ6uaQntYjsmLAMszy X-Google-Smtp-Source: AGHT+IGSvK+qG+Q0ENkL/wDd7vvIKsmSeV6e8OTE90QJQlZIJD92dl+lDSF2857GoxA0GfSj4VwWDw== X-Received: by 2002:a05:600c:4f49:b0:436:6460:e67a with SMTP id 5b1f17b1804b1-43668a3a334mr454312195e9.25.1736204102739; Mon, 06 Jan 2025 14:55:02 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b48c:8600:daac:3967:7eaf:8e73]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436611ea387sm586000725e9.6.2025.01.06.14.55.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 14:55:02 -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 09/10] Input: xpad - add support for Thrustmaster ESWAP X2 ELDEN RING Date: Mon, 6 Jan 2025 23:54:36 +0100 Message-ID: <20250106225437.211312-10-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250106225437.211312-1-rojtberg@gmail.com> References: <20250106225437.211312-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: 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 Mon Jan 6 22:54:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 13927898 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (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 44F4C1DFD96 for ; Mon, 6 Jan 2025 22:55:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736204106; cv=none; b=X1rxRzYGWLjqmeWLkvT26rFVGCviaKxBDybXhAPqhyfg66sjd1vgJyIl8/IE2pFjHR19eiCDMI+3ovXbYzJgTqcv+rZsAf0WEiPlUiAk2/IyjJ0AGYaPZ9GmxkZmvbXeTds1FpCrreKhT+e4begQ3hRE4XfcRKE1dmywDGLUhz0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736204106; c=relaxed/simple; bh=CRZoYS5SVEiEl5TohnNzSsQFQ4XMr8JkxTi4Ivw7Mmg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Wmtk8ZPuYviWxKszjz7Fi7PnI690vQo/m4KuKX1uiaAeyPfbEFcn2BonwKClU/iPlRfahrqya7xZZikzov1Qr+MPQyZtXLx+jKuGFxbmBqE8dEKtSBcy3/ZsjQF2Z9kU4acSZ5AYrpGhprUsZp69e+89BMv3E0RFqIjxc2IVKOY= 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=HxC7Bw1C; arc=none smtp.client-ip=209.85.221.44 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="HxC7Bw1C" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-38a34e8410bso4935149f8f.2 for ; Mon, 06 Jan 2025 14:55:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736204104; x=1736808904; 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=1UXmPax1YzmPLVEHa8OA9ymjXXu7OOQuDyzgJIPA1eg=; b=HxC7Bw1C4THtMybyrzKHwv6uyDAboMwxSEn4mU2mVeQPGwJuXYEzpuBMVKrZV3BrHH KnTdqJbnR61IEXYGMyyMhIbJquDGeq89gbuppgt7+sLifAGazBjt3mVwN2srLEj0i94K gJsAKfQlgqDpW1yr2//lwcLhsIXTV5yETbopdaReznrIipnhIFre3Zp3ojj6Xs79aE49 HP0y4YhRZ67+Dxm78iGoqNahL76VvPxLuWx2jwnfVWD6sWniyUuDOWH4RKaeNSJkiLpG 5etxcBaYyqVsJGYxCoMjsuDGCw+4GZllb+qyOiWmEDO2d71eMJrsni4ESM3H3Y1sMVZJ Isbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736204104; x=1736808904; 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=1UXmPax1YzmPLVEHa8OA9ymjXXu7OOQuDyzgJIPA1eg=; b=gTelGh4xvE66Rcb6uBDXI5JRA50zw5XnKDeLh437ERaxb3HLvPFKSzxh6VzvfnjsJ8 NTFaBih1/K2gPtNmywwk2aOtlUI1eCa2hygc38Hy4d3nB/g5xaF8gfJqB/vi16xjdtoO UwiowqUJCuy0vsS83xZKJixLv0zWQswbA3xyQzxgR98os/gqEW6vKDHADoPMZ6gg7D/p vPsSLHcSisdjc7yuAdnidWOqxxexLsKZ3ffm0f5OJc9xaC+ikl8LYM+mqo7rdhLxUcyv cctU69Of6atZckIcX67GmZrpeyq41+aCZGIheJWPFN+QGhz1gqBPPiXSw9KBfHppzwOG wyiA== X-Gm-Message-State: AOJu0YzPMmbLVtm5JwlUeHomQGOZdMl133E9kyYINXSkcgwsoa16PDgv 8euG4077+sgPLKoz4aZM1BPWrSx3FUxq5NQcote3M5miqYwGRnq1umW59L0NAJ0ibg== X-Gm-Gg: ASbGnctVVvcdHALEghQ1UYCZdiEFpS6izLG+3ra2/TvTzZ7+bgAWRwC9TX9Vmn2WZxZ e/mvIkW0nkuCDh+pyd5oqyFfXy/FyQsJ56Ko4flFBpnK5FUKA1g726VfYgNnLfChmz0sguIKYs2 rOfkvYuIoR7C15mDVU/yMevH/YLwV8J2EEFi9LoUeZuzvCgGwN9/n3QpOvHXSh5E6rdnFNMl/qH 3dtuHEygRp12o0urR+WI1/2WEEvI7Qj7yGwUYEVqQDs/FQCMZZ3rqZPiA4klWRfmIGo X-Google-Smtp-Source: AGHT+IGYD5tlMNn98dZv9JHmN1j3/16u1dYaevXZ7yGWmvBz1xZB+cY2rLd7Yfsg5iJO5oPIvUxH0Q== X-Received: by 2002:a05:6000:402b:b0:385:e8aa:2a4e with SMTP id ffacd0b85a97d-38a22200858mr49315529f8f.31.1736204103638; Mon, 06 Jan 2025 14:55:03 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b48c:8600:daac:3967:7eaf:8e73]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436611ea387sm586000725e9.6.2025.01.06.14.55.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 14:55:03 -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 10/10] Input: xpad - added unofficial Xbox 360 wireless receiver clone Date: Mon, 6 Jan 2025 23:54:37 +0100 Message-ID: <20250106225437.211312-11-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250106225437.211312-1-rojtberg@gmail.com> References: <20250106225437.211312-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 I've added the DeviceID of a very popular Xbox 360 Wireless Receiver. 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 niltonperimneto@gmail.com 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..ab4cf8201c58 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", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360W }, /* unofficial */ { 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 },