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: 855337 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: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: 855336 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: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: 855335 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: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: 855334 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: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: 855333 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 },