From patchwork Sun Jan 5 19:37:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855197 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8EE12143725 for ; Sun, 5 Jan 2025 19:38:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105887; cv=none; b=bmshrBmfRerqEQbzgjSM5GGc2HpNv8WCNHvU3ZXuVZbX1JJ7FtR6jws9I1mTjnPbD91i8tY7/5km7L5gsgllQzdCegos1+YnzBISWQgvH3WFOXxw8lqMa2isxrkoqjqZ8o0nyZGJhVoVjWAPZPrqNn8CVsGMiUixKITx1E/k48c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105887; c=relaxed/simple; bh=UrsIFDteo8Lr3f7hDrb8UKdv77Y1AiDtVGViM8XJWz0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Ab7+zeuiMtBQ1oWWQgAWrA4QCxkX7Ugf6RlQqbEYvevU2VrrecH1NgQZ2RTUlUgcwX/OmYXVPHRDaxgQMXwJDN7VdtKKiCYKk5yVHGoGeU9llfaNbFMaC0JolwStqA2sF0EuA304bIXxisuSlMrR86FUn/Ui0OxfGOMFFyExKRU= 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=P3qdICPW; arc=none smtp.client-ip=209.85.221.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="P3qdICPW" Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-385d7b4da2bso11683561f8f.1 for ; Sun, 05 Jan 2025 11:38:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736105884; x=1736710684; 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=P3qdICPWVgalLPiDvm8U1xzg2BY/ErF+b4LRprVzIhKvdlUOmn9rWF/AXyUxW5WRXh Abrr3lh5iAAV3929u2jwBfEK60okJYthRj/KvakgG1b4qnBPa2shgd1G2aiG3LOtNkw7 VG0/rBdU6qj+4pxKvU9jPsmU8gGjxa3e3vl8HXltGuxVukro4qfPu/jVqkFjigV7x4QF eMqeUQP6IoZ0wZzen68hNMi5UeBkLGeBngscm+szFHaJ7qzkQwVF7oaPQqhBqOv8TAeV YfFRxRVEs3NZbBlD8vx7vV+pB6crMi3UF/4DLXyHvaga16oWpOWLbXtXfwAYu5xdeg6N qlLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736105884; x=1736710684; 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=dZSUcG6vkjjnNHbm1xuJ/iRGqbAsy7+bsnDfhkfGW88Zks/nSZMzPWYFg/udUkAco4 F55Q7xTMDR1st8Y0539iSuoCtYuwjhf1/7+NR5HZbNpGOSA3rTbLbHSQpPtDym/k1clT zR5RHai1jilBEtxBENOQQcNdsRaon77HhmrWuGT5Dal5ngVrEwIqVqciwvhjxvaj9P3u vfWWBMfuX/QbocLRo3rso0jS8M6bknpwD2l7/9VozRIpVSME0WPEaf+IiwucMZekYdJq p2QMGXcCDItPaKxFpBUH/mOS5qn2VtnsUii5kalo8/belUv5KIkJOKgSffVFIlD6YpV9 5HrQ== X-Gm-Message-State: AOJu0Yxx4zuS3T6KcNgkOV6GTC8WLKJxsnBdiOHk7JZ/RQf7i3KQX1mB omMMRQ79vr376WG8DQvtehMRCmskxfpNCnmUZYllryV0v6hrk3cRc1bAQDCeuvCoyg== X-Gm-Gg: ASbGncs2Ucs/3KGfkuvPtvMGwW4kDgxxQbxeDqPEOZAF0yyFYIvrrizeNB47hWdzAYJ dl1tCrtd3UU9CPUCNkkDTBNtCPcZqZCaRN0hIBu+wFT93YEVZSbws2mcwm+QsP5Xh72s2zntFl3 TPaXt0vASnHfzWsMlNUBKjOONhLnYGcO2uMFb/J3bLvq0zH5cAo6zChQGsEyviEtYrlwfXnsMIT N22LV+suEg8wUISds65Ax8Q50yw6wUdb2Eossptdn4YQ7nw2XHN/jHYYh94syykjLhY X-Google-Smtp-Source: AGHT+IHJbwXrT/46BJ9ZcZu85lfUY97jO1mf41PxcGUmE/5Zq77IlHzvF9Avuzki8QZbxhaDprqueQ== X-Received: by 2002:a5d:64eb:0:b0:385:fb8d:865b with SMTP id ffacd0b85a97d-38a223ff5bbmr50654957f8f.48.1736105883712; Sun, 05 Jan 2025 11:38:03 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4b1:f000:b401:d562:1102:1bc4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8332absm45579309f8f.38.2025.01.05.11.38.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2025 11:38: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: Leonardo Brondani Schenkel , Pavel Rojtberg Subject: [PATCH 01/13] Input: xpad - improve name of 8BitDo controller 2dc8:3106 Date: Sun, 5 Jan 2025 20:37:38 +0100 Message-ID: <20250105193750.91460-2-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250105193750.91460-1-rojtberg@gmail.com> References: <20250105193750.91460-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 Sun Jan 5 19:37:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855196 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 96FA019DF5B for ; Sun, 5 Jan 2025 19:38:06 +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=1736105888; cv=none; b=GhfzGU+A5WCBb5yigiXa6kgpjbLY+6zoC5uAavH0DDS/3cFrwPMrsFee3Z5qt4VSlcIP4+AJIv3TGzO9okhCN+2DNFnol+ARfJ0CxXPmx4ioEpg5YtfJDacksj3j/La6OSCScqjQf1BesmLzOiuuYwBM0CzMr7ztp4LAmTAYKx4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105888; c=relaxed/simple; bh=+lLQvJps5oMf4z16C373JU40qWFN2vYrnyI+VpQHp60=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KDUGFhAx89u0wfskSEnC8EfYb8Sp2hX2RmdKDdT8jDMrQ+y60U/6uStxrF58WNdsEc1rXa5DARDvZi1OSv4/l9mhSoGtsxGqAnluov/c1iZuXKOEKQmwxpVTeOZwcHDLa1QuMjmGqC9BCk79GhGm4sV3k77X6ch9TWBHnEAOVOg= 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=iz7vYiOr; 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="iz7vYiOr" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-3862d6d5765so8053524f8f.3 for ; Sun, 05 Jan 2025 11:38:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736105885; x=1736710685; 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=1FZ18MjLjPJBNmz7/EHHELmBUMgyqAa0XfQis0G7OOU=; b=iz7vYiOrGRSnh8BA7/qBNMp600r0vKEg3jtLs3b66SKh//F560A00KjNNEc4eUo7fA P5c7IBAzTMVs2bMYm0SihqeGnL9Oy5w7TDgj2wBLWnXPtHa/W59HuqmD/Xz263BJWAN2 bMj+fXuvGHfLI5NxUS63tLsrRiATWofMaTY6L9lg6OziJjc3T1NEo5v03HwM3Z7tH7Zk tEsX0xx+W1luM95TMdmQM+/7q/0ENR5HAjYf0rE1iQUZC/q1v36ka/+xDwweam/+gvTM mUjMeE3oBybwNXPsFIAywVyBEcXb5VJ8GfMK4144xWqxWxUbEzQkPv87PnpnxeB9fq7n 5F4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736105885; x=1736710685; 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=1FZ18MjLjPJBNmz7/EHHELmBUMgyqAa0XfQis0G7OOU=; b=UT4gNfvR2CnJikfLdtkPk1rXYlA1rK2gbZphbbBGrbM6+Pk7am3lsQZszZQTzU/T2K l+LARwF4Xa6GxpmoFbAGEFe059N0iDw4VwJUNqM1GZhYqoPTvmpQ7rFYz9sCMBFcAQJk Hsfpeh/aK3XXwmjrtFm6BtMz0Ovi4Xb0veHfisaspNoQI/BbB3ZxXZnn7fjQRUSa4kVx oxVFL2nbFSPpI02K1o+Qi28eVOCTSEil4LLk8HF0+UCcmJUEfsaMq46mUrzF3bpIyvuU stxWgleE7K6tQj15w2jKA6yyTFl21YWm58qOC1syu+R3VVRz0oAGSV6GUiKTl+KbNuCF WSpw== X-Gm-Message-State: AOJu0Yx5/T9ay4mbxJ01Pq0xAZDalg58nx7LNWWOM+KfTPXZurZFJC5E DAzkUfxPU8GSwb74KQdca3EB3dRZ+fWju5pTT9Qq2sDj6/LIXOI46OsZBXaNRmms1A== X-Gm-Gg: ASbGncuO47D5/0HMwRORw4nQb7p3+JvM+eoit9r0JLjvbUgNbFcZ5auUMH/jhXJ0sEB AOcjnZqmvvVW4Al9t17G0vqxqoxmhQ/xE6o0mrsKbhZbDS+EVGFADM2eUag+2rfwB1I8DFSnRdn wRRbbgJNXT542ziVDsNOE7BIqHhA4fdozqjHkEad6VbxRWFL6YlAOZGgnFr0u0Fd9EV+AJPikT8 4/e0gd8/zRWdU7uHAmja7EtYq1kF4GxbHilaTKV/s/G5XiXV0Hw3Xatqg61zPcksYSD X-Google-Smtp-Source: AGHT+IGoZXaJlCVDNk22PYPyWkttSuSkVz4tD9jVbn292+2v2YndpM2vMkNeGW6k/BY2FaOwwMPMew== X-Received: by 2002:a5d:6da4:0:b0:385:f5c4:b30d with SMTP id ffacd0b85a97d-38a223ffac3mr46822161f8f.39.1736105885002; Sun, 05 Jan 2025 11:38:05 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4b1:f000:b401:d562:1102:1bc4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8332absm45579309f8f.38.2025.01.05.11.38.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2025 11:38:04 -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 03/13] Input: xpad - add support for wooting two he (arm) Date: Sun, 5 Jan 2025 20:37:40 +0100 Message-ID: <20250105193750.91460-4-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250105193750.91460-1-rojtberg@gmail.com> References: <20250105193750.91460-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 f03e44c51efc..9b9ddf4aaac9 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -381,6 +381,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 Sun Jan 5 19:37:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855195 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40F011C9B6C for ; Sun, 5 Jan 2025 19:38:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105889; cv=none; b=Qr4NKhv5gdAmriu4+6QFXuzfUPJhDm5kkl0VN9CrMv+V1l+FIq96dFPg75n6gUDP4hhc3Js+9rxSnt7Ii7ym0tr8TdmEvV53Pf8u2kZRRHob1V2iaYwVm2hGSY9IzMeemf1/cF9mw9C3Ocu2I0lhb9fZLV9sPQznvl5eMT5kLW8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105889; c=relaxed/simple; bh=u44cl91ItuO4BqcXhsgSVigas9B82NemgMt8R/+t94Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BEV3NPEcx1s3GTsWSkW70TdTA1zWohj1cOzYrIiK29zByayUk0K/NiD7xwl8aPdub8XyFfEGoEELr2qNkHpWUqckG7wclSsLHmcqMJUv35TPPYHLqImceFmSftBlmTR+GcCdVDafwwMQ96vcSaDt3cl/9lcVEhp5KzukKeIX8KE= 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=Ti/Xbuy7; arc=none smtp.client-ip=209.85.221.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ti/Xbuy7" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-3863703258fso8586602f8f.1 for ; Sun, 05 Jan 2025 11:38:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736105886; x=1736710686; 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=xIqeHbi1WOMjiUoHKxoroqy2hM7PulynqJCGOyUqYRo=; b=Ti/Xbuy722lLv6/LlqLBTz7SFgm8dctbwDbv68lWm3PbFomEXexsIF+gCmo+EOQ2it Ot4LxxU+MmoRq6h/h6deL18dgCLOFymU2D8AB06Nj32O9yekrxv9V3iAoZwMDGPiuQPt +6nwiVXuJFC6tXnsxT+0tc0TqXA3Urq+gHhCo9tOdrrhgdLsGRY0mjSbxIpCvatF8HYN bKkdEgWToFI8hbemBYRZFCL9kHMM1aGL/P9NFwaHukD1yx7k2bEvUSICdQw2LpsyuuoL +qxOl21xJ5g/1UKR/xyHz8Mqs5MNfcZxBhQjqjKS9bXOB57dgvHJMxUhLJK/b/dbUgK7 JLFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736105886; x=1736710686; 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=xIqeHbi1WOMjiUoHKxoroqy2hM7PulynqJCGOyUqYRo=; b=JhmxuRKBfftWcdVCSYEeJ5JmnYK2m2O7HIKnyeV6zD+4fkShP2+25u0K5yFtEvOW8h gG3+NS9WngMWvwMchKBKRUaJlIvaiV2eh9S/RK4bn9Zj6UUqkkn22rM11BNBxFLgobS0 2cySkTAOcrb7+5TXG5lZRIT5J4AglS0KuLffasY6W3fetLhAwOICfr+vvhpeX7bLisAJ zR1aeU1vKFcjJ3ynwYVkIPElg7GoT79CsZ9mKk255+ptW+KoqFuaPEfErJX6eP7oLozs Jmlm16JQ9O6cH1EOtwzjN5Nj8YR4rMBy67LC9ECpJBYDl4Z+T5E/Fnq9su8snkDuyd8R N6Ag== X-Gm-Message-State: AOJu0YyYB45Vulv3bNzjvp5r37DaTDnR6U7mKQpvi7AvBkbVLQeOjN7Y J4quodr72/L8VG/kUdnKAuze6irM/g0HJo5za1Cyey1D6pCTfCf9/F4kPlebh6MKyw== X-Gm-Gg: ASbGncss78zbGTElkO4KXrYViU9dDTOBzJKrKR6TBcnLDxRpCPNANuoCdKi/P7HD8Pv 954V5Cj8ic0+Oh8LCY4s21sujKyQDN2J7ajQ2NdD4ot3hwHCkbkqcoAY1TgazazWCaf9jMwPRQE Pszk/q2oulLIWpJP6jcz9amvoIqWr0mHVInCpjDx+g81kGV9U10Rb4il9wipZJreBuGyyxh0b39 vAeBpjGr+Ks1y8DB1qF5iuCZrUb2/aJyf59nX6ULHVkYAVxGA/SRyu4yFB4TedXP/yf X-Google-Smtp-Source: AGHT+IHrQA/4/bPSuean2WRlZiHelrE0yFdopvLtmZJnHATiCd2JKU0vvGFvjSNqx8p0lG90w8ae1w== X-Received: by 2002:a05:6000:1785:b0:386:3c93:70ff with SMTP id ffacd0b85a97d-38a1a1fdd35mr50504586f8f.8.1736105886474; Sun, 05 Jan 2025 11:38:06 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4b1:f000:b401:d562:1102:1bc4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8332absm45579309f8f.38.2025.01.05.11.38.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2025 11:38:05 -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: =?utf-8?q?Tobias_G=C3=B6rgens?= , Pavel Rojtberg Subject: [PATCH 05/13] Input: xpad - add Black Shark Green Ghost controller support Date: Sun, 5 Jan 2025 20:37:42 +0100 Message-ID: <20250105193750.91460-6-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250105193750.91460-1-rojtberg@gmail.com> References: <20250105193750.91460-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: Tobias Görgens 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 a7666a21704d..9d9f73fabe9f 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -388,6 +388,7 @@ static const struct xpad_device { { 0x3285, 0x0607, "Nacon GC-100", 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 }, { 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX }, { 0x0000, 0x0000, "Generic X-Box pad", 0, XTYPE_UNKNOWN } }; @@ -536,6 +537,7 @@ static const struct usb_device_id xpad_table[] = { XPAD_XBOX360_VENDOR(0x3285), /* Nacon GC-100 */ XPAD_XBOX360_VENDOR(0x3537), /* GameSir Controllers */ XPAD_XBOXONE_VENDOR(0x3537), /* GameSir Controllers */ + XPAD_XBOX360_VENDOR(0x413d), /* Black Shark Green Ghost Controller */ { } }; From patchwork Sun Jan 5 19:37:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855194 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 06EBB1CDA15 for ; Sun, 5 Jan 2025 19:38:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105891; cv=none; b=NJroNd4ipPEUOOY8qyIISgFOjSSXaEETgqiIz8nn5y3M0D44WFv9XFsBdsgTWtkV3UgrJC+9aWi31mkQXzOE5Aev+HVUEG8vylgP3CG6KjWhX+7v3nh0LJHIvx7Nid4NDgoKNDv66Pb+pC0i1KeKeOkuYpO2ZieyRAiTHOhcK7k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105891; c=relaxed/simple; bh=ML7SWqZlBgSi7mJ1X64m83lsH430Nm3UXUapvVtTAR8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=p5Q0HZQG3r2DNutn2SqD6PuH+dkh+SYU5MKZC1VGk1YGLr1QpFKcSLmcV2+dfhOhQh0CZqGZuAphI+wrUfpoMLgV49JuhirV2d5y6+ssYynAMOd43l8qrG4G+HfCLHFrgZ7O8Jnl+WidUif/+iCKPXVNQG7RSWRm8IxzvkeG+BE= 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=iJrLNfsX; arc=none smtp.client-ip=209.85.221.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iJrLNfsX" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-3862d6d5765so8053536f8f.3 for ; Sun, 05 Jan 2025 11:38:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736105888; x=1736710688; 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=7+0kEnCsl2kJPTck13/qNp+7CLLZEXG5bnvy8FQhV8U=; b=iJrLNfsXOBpaTAqbIKmV+NdKcjColWqCcNnBV7aTQj/gtpRzIp+wP71N1Lb54uP1xk Z5DJn8uyet30EimwXYYvgAJ1M2o+KkXK+j1URupjma3WmKtE3e8HE4V5HRCkYUDrG8aW s5mxtxqmIeLOQSZ7OQz1zgGKkcgyl2RThD8xS6SP3LSZu+6vWcGmxEWTUStCc87Orqkt cZEg+d0XDV5F/jguWkdwX8/vfdR9usOXPcvaJ76S72LNXpKKq/YUFC51FHF5/jIgaDwQ RkIjFeCy1pVZ03YJ5CCz7Q2ZaOG9OBvsq9LgUnxYMHVAjY/IxGrUIQDm8/qaAGtfelWb dGgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736105888; x=1736710688; 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=7+0kEnCsl2kJPTck13/qNp+7CLLZEXG5bnvy8FQhV8U=; b=AoT+lhOFksWjHTjajrV8QaqpEHAKpr4GyaKbUFXbO51ab+BNoF5dfXhW+WdNtvy4LR p4YK/5ayR0Z4N8IOrGY/BiPsTgbeeUEoQjYNtCYHFLYNPXppzH5kqz7ay3YguQdp78Yr hOb1wLcYpzZ9oJwUIpezbhLUMPsz7bswxukC2lHTPrra8FemW+MMmE0SuMfmEQPZA1l5 v4/UWN7olOeMDt8zBZWtBi3M2lEU8mYH1vMH7sx30hSujGZLFDZRNt999VsrwJGT8GaV g/8kCnvyX6IvB44FMYYbjz0nQm0Zvsp8cmiVT76azF2n8eQKau1G2SGd9ElN5CvcK3V5 bRUQ== X-Gm-Message-State: AOJu0Yy2hyZCXvH7T7N51NIvw1Jc4RBzKV8ebAa60vOkN0ptmTX4sHfi ieZOgs6gKVDxkazEb4Iyvxnwb2JpHwucd52rZwI8/g+00daEFaYGOg83qij5kniX+w== X-Gm-Gg: ASbGncvEB4UmBplMNjd4O48aEnkOa9tpHrgdKQeEaRsucZCzmC+AbPa9EEtDVvA/23N hFHuUfRZHKB7RROULD7NF/ojhMFREwbpwTbd/5s0JcMJ6xE4P6783RTi3AZooRQeKVEerovnyt5 i1LslIJtLzeuD6aka5+wwP3EBFF97XfPVFBYoXgz7orDUL/GrdDMJAlsXrXWDK+rsZKtAMdGlVH dRY5EYtKwMaV+uFUsysuRUDJdlsq48qDLpiX6genAWjkUoITWlQQlBQrutCCbc34ygi X-Google-Smtp-Source: AGHT+IEWWRkeC6ESlzKnMXtUh7UCUBqJX5nPvreaR9Ak1xEQDlKBoehZGwsqtgbfQKOunikRDvMm8Q== X-Received: by 2002:a05:6000:3cd:b0:386:1cd3:8a03 with SMTP id ffacd0b85a97d-38a222009camr40240288f8f.32.1736105888072; Sun, 05 Jan 2025 11:38:08 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4b1:f000:b401:d562:1102:1bc4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8332absm45579309f8f.38.2025.01.05.11.38.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2025 11:38:07 -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: Javier Zepeda <18448386+javichz@users.noreply.github.com>, Pavel Rojtberg Subject: [PATCH 07/13] Input: xpad - add support for Nacon Pro Compact Model NC7271 Date: Sun, 5 Jan 2025 20:37:44 +0100 Message-ID: <20250105193750.91460-8-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250105193750.91460-1-rojtberg@gmail.com> References: <20250105193750.91460-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: Javier Zepeda <18448386+javichz@users.noreply.github.com> 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 4e66635fd7c4..450a45152d63 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -387,7 +387,9 @@ 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 }, From patchwork Sun Jan 5 19:37:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855193 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.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 70CC71C3F1C for ; Sun, 5 Jan 2025 19:38:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105893; cv=none; b=PQw9UERFfWJ+nGH6+sUOh7VvRWLQ0PFLcPXVkC0Nh8PGMROJBCtalySCs20n1J9al15pRpCTd9/leGlFaV2X2mS2JvlqbAKHqJcF7rGN+BnunsQlHYMACBFXcXsvUd7LXYrgf0thQ0WhLfIH1kDIy6fuWQ5uSw3HTBb+p+E599I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105893; c=relaxed/simple; bh=bM54ZyaIQjGoqs0cBihxOZIsdwj2ZkvengKo2A7Ku2Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=d2b0viFgQSIujnsbOcma2FXoECZAZbOfbr/zuMB+CodVX7t1QYf6FFSZaaoSG0vU87lC0Kdt9bhAJMZx4Jz4icALamRLPeOeBKHexi0gEOTRkXXgq9MFkziTSX/fFw6bNdDMC9vPiFXfdtxzZHqmStpTVsdlWTGM5gvfL/9sv7Q= 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=Uz0THIaK; arc=none smtp.client-ip=209.85.128.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="Uz0THIaK" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-436a39e4891so42750455e9.1 for ; Sun, 05 Jan 2025 11:38:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736105890; x=1736710690; 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=Uz0THIaKRKG+6Fpc1syN36hWlH1GBHlXxRowstycJa/WaQk53/0lfH8rRuzt3iuuFr e3mJi2qGHEb/sW7cO1iSdSEKY8WgaxTACXVut1+VI6Fc0Loy0IMVm+GMjW3bonsFuDZ7 O5LTWk/MFDz9JchbtBroPtBmyLXT+ECBnoZImfeziE4CZM+Ekqv5PfmfSMDyD7i/4emo Z0VvGFlBt6fjEWyeL0TrU04TxSwgh2MRbsqm82xkF3E2OrNyJVmmXIg4z1/a8PSFWv8P 6nTlXIT1473cy3KpUUU7XckBlp4kWjraLwvTUD11OyZPN67ec8/3myqZ0lDYd1hEiDG/ UcIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736105890; x=1736710690; 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=QXTtkvwjY/paKCa4HWhe/x5/ezBKCc96V4PHFeZYq4lkY7cZsZyGCI1fqjMh553oRE WugRKhxxzlzSPVhNbmyywe1bGhKtusyfVh1Wzw6VTrwt2rJL69V1qXEzzZi1eUv59Axc uxJd2eU/r3vg/Exm+YUBluAR9JLewAf7NaS7jKPFtBrbudVnUs4+pl4s8a+D26XwOJsR 0Ef5HS3wz72QDoAIFwXaJkO4O+7QI0W8uyJpbtgwv/mmHkCQP38EMCFlf+OfuHV2pQaj fhUUNwih0hoG4eGHEU+oPHgyK94yV+p5ujbBmiFFL1S2rJt0CuiFjBtd4mKzYuSLfUpm I5Rg== X-Gm-Message-State: AOJu0YyWaHJGvAFocnRxt6Bv69VTeyht3kNzf0XB8ilLCEmWq+ZdlkjT JE+UaxeXMVwD02q18Vr2iepCk9YpHb/SYEPLaMxvhQp9/cwsLmwqglhCLbmOLO7cCQ== X-Gm-Gg: ASbGncu7pkT/agkZlV0Vbj9nOPCnzVR4k2WqXry57JolBK12arMpgTlSFQjthHNxU// QymSv82L5Y6kfFBfOK09cGS6tK9arR/ezowV9pjGwN6oj0wOJbDOXgIWHZnW1serlxxRySNeoLC LC07AQaibkrcH4qxM7N9SSsxSYm3PSRUXIZ3gLmgCCpzYIeig4LtQx7K7+wWKr42catZXtjrH4W WiGwWwHYVIjvNFHrgJrEx7qOffhZiNtGidjiMPF7DV9zlLSAfIYBI4V+ZbQbPjnYgUW X-Google-Smtp-Source: AGHT+IEaBydAAq1NW5l3UelWGTiBrwqJMI4QtvLLwgzKMiDNPqrYhOx7+w9MTHZqloio5uNgtPUtBg== X-Received: by 2002:a05:600c:1c1a:b0:434:eb73:b0c0 with SMTP id 5b1f17b1804b1-43668548301mr458500855e9.5.1736105889735; Sun, 05 Jan 2025 11:38:09 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4b1:f000:b401:d562:1102:1bc4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8332absm45579309f8f.38.2025.01.05.11.38.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2025 11:38:09 -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 09/13] Input: xpad - add USB ID for Nacon Revolution5 Pro Date: Sun, 5 Jan 2025 20:37:46 +0100 Message-ID: <20250105193750.91460-10-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250105193750.91460-1-rojtberg@gmail.com> References: <20250105193750.91460-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 Sun Jan 5 19:37:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855192 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 3955C1CBE8C for ; Sun, 5 Jan 2025 19:38:14 +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=1736105895; cv=none; b=sfKxTqAAMP2MJ2U4RQdJq62IvSWJnaAUddthL4jnBxdxDrZasg0Lww0xzRSwvfhc9tChKdaH0GMFamdbzJDHS6kKlht7vboVdu6s26lm4cmQLVrPCdOejsN6n7NH0g1AuKx60iyfhZoYWzOZkgCP8CJZeCsLv4vSo+ZSvZo6tt8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105895; c=relaxed/simple; bh=3mzlM0CzumBbsyf6fF6Zrmt5bkTlWOWJ+vEiSuStkN8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OrJ1O5MxP6MIoWxulrGlkQ72oSLRRushG33+hNeu6maioC8GkbwJNwkiqeysCn7mtbS/uWCNZ5KBYJ+kCmDaLAZplcM2Av2j4xCm3YKGr1zLQhFB0xiIMChKQmHkb5CZC0JMYu+IP3lxeSvDV8z/w7zL575zCwTguubo6TnRaCQ= 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=HHTdSphQ; 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="HHTdSphQ" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4361e89b6daso93878705e9.3 for ; Sun, 05 Jan 2025 11:38:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736105892; x=1736710692; 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=HHTdSphQk1GCBrM9uawfomZFfObsumrA7PDfGaewsm7ef4Xqsn2VijmIvmVn6WAk+O PwTgEK/rS2qKBF0Qj5SPpdoDLRpCmKmqjQbaYELxq2xS6+kQrW7v/QhCUOqz+V/JcK1r MfzZKjKb1HtUwxlH8MRzBHiJ4bFUYt6IVZLKd/pEjc6OMel3TpREpuTil1xFSAdtOjcm Vbomp6KBu78hQ1AIZxrLWdBNKJ22Tv2MAE69o0vBUQBjJ43MbqF9kjwhMbxHjT5PhtmM ERJqV94W7mxEzT3IXS0wiJgC3gyWCU3aNyaGoZ30roavT5OnxDwRkjiUewBN7C5M+jAy Ti+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736105892; x=1736710692; 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=VCFFQ4jG0QzcOw+ncDf4JiWnqRgM+7DYAAH7upo6a3S5jNWbSi+/Z9RBBwikFp/8RO E7urzTO7977fwQvNhHxSE07XazvKGrqevu0ndIbR6RMJGvl6KFbjoVP0bnHiBpjSAqsw MgZCdmziB+a/feI5hKinQih5XwctVn3FfjfGmP3LoFty1DxFpmAjqri9o7VWsdQIz65t udNR55JHDTPZ/gIkNU33tXRAbZdL1QHDV0MjH8/wBN5ETAeITQk1r5R+PeNTxXP1zv5a 7cuJKB1xT6vb/+e58zNeUs1G2NbP2dG62L1cXPkgW+KL3Kx28UHP9iZbuXLuMOd45We4 tMww== X-Gm-Message-State: AOJu0Ywtp6CD7XZUjyhtmPs4rzZy3til6OwlHBkyGQEqm5KktzhdgktA Rx4v8E1sfguC2JwsPdHifW/itReWtOHe5952MfeJ4I1M+sVofIEpmzD04NiWv5kcVg== X-Gm-Gg: ASbGncuGxV82S4ewy/ifdQUXjlcVal2ADpqr2nBBR0jL7zNGtW4Qn+xzKi7WjMgG8z9 0DMtTnQG+Nm9IqgBWJ4Et9SlcmP+EHNZEUuaIGR1Bs1fIcQPjh6bWvqoseeREClnBEmRpak68uj Yd/D6DGJANCZytxUPerur5l+SRMvnLibueRK03fqMozqAjKmlHjdtAAM9R++2AkgZ3i1ljKoO/z Wty2qZR549RUlEwoz77rOokcX0AaNXHdpsSjuOrV+N5xARQKGlunC7Z1iCBhcS4Mhra X-Google-Smtp-Source: AGHT+IHn1MLiAwfukPrRwBVE39bEciPiNAzUop0UxltBnl7qjcLrr/WTBHDPS4lrfUSirmgZdpVlNA== X-Received: by 2002:a05:600c:1d21:b0:434:a4a6:51f8 with SMTP id 5b1f17b1804b1-4366790e3fdmr529944625e9.0.1736105892274; Sun, 05 Jan 2025 11:38:12 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4b1:f000:b401:d562:1102:1bc4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8332absm45579309f8f.38.2025.01.05.11.38.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2025 11:38:11 -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 12/13] Input: xpad - add support for PDP Mirror's Edge controller Date: Sun, 5 Jan 2025 20:37:49 +0100 Message-ID: <20250105193750.91460-13-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250105193750.91460-1-rojtberg@gmail.com> References: <20250105193750.91460-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 Sun Jan 5 19:37:50 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 855191 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (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 16CE61B5ECB for ; Sun, 5 Jan 2025 19:38:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105896; cv=none; b=T9hlaqSHCRW6+7sl8U/zHaHYU5/C7DgjOUMptczubADz7HdWikaJ/X7Nu2Mb6THOjI02eC4mTtAPZ5DClGGNkr7T3einiYFdsLqrw8uohzyQNTI22sdCqYNY/a39lpQeohvbWku3MJlV1GNcdR6OcPUwhp6bzWBiPqlvZ4rJqck= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105896; c=relaxed/simple; bh=xaGQFB/3tHoelS+lAm4HlmNSPyjqkE4xvVsDWOYfmOc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=d1rJ1XqHNvGvPc4ofN6fGU1RO34oX6BhovVSs8lgU2TLfaFq/KcQCwH8A6cK9JdkU+1+WgjwMfNQJx90GGH1SBPAtlB3m5DWTzrc1CjadV7EvfI2L7KnMFeGRSzhkj7h++0gRMZXbzs7CgQp1a06TBAX8OFequ6Jv27QUlpeQXs= 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=bTmpv6hc; arc=none smtp.client-ip=209.85.221.54 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="bTmpv6hc" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-385e87b25f0so9127648f8f.0 for ; Sun, 05 Jan 2025 11:38:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736105893; x=1736710693; 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=bTmpv6hcgDw60buNColaDaBY84sXWoYQP7M5qe5WHmlmcZs4i8vqXSjUm8r72ZfRT1 wH6ojeY0JowcfbuOoDOviHjPUg9f6XiZGbyF+/4fw4bZPl2DyzjDO4cnEm+Z9K7reSK7 oX97u2AkBUh6jzyhdkWP9pkYq5dTQVza65QtBOuxMusv6wigbAxyi+qCWOQBQ519NJDg jiix8n0//x3dkKY/WKc+jXCGt8+9Dx77hlOOsBAYJnCWbjBEOHPOi+IqPCHMgWoYS0xv e7fr/yRljXm/mQxMKwlAat4DwdYkZjdcuA0FfBEFr3MWyn3fliHdiKL4panjalnoQPtQ qvkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736105893; x=1736710693; 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=o4S2AOFLtZhAb2YEfS5zddGZKA4Q3tKlAE0qXSqz8vALUWqTCM6k3HnmGXjA7RBRgB RbFKNpLx8LfKtmIWfip8B7+/uaGuDMn1BCOVhvidW1M6/150+0Xc1xrFnHccPWZd8ZWs E0FShfk6+r0YwLxAdaqk1MrKf8PpA6fPBWBGv9JXwh3QwaAfiN/SofEVgGiNTu9qqSUd NPLwKJlGVBbkyaSRS1WzfmEnmiXKVylsDnR4M2Ie3f7hstPrRi5ii15VWNGmPN7Q/4Hi YWX2fk/JWB8YiKZkDXEd2/iXNbQGTK7kL6oJObN0rfqFpgMs6Rlb8JNavInqirmCPJbd +9mA== X-Gm-Message-State: AOJu0YzXX3B+8yCym5552dD9yLNBIO51E/rZhzQRUspt6hh6MBqMIvP4 eScAJcqPP32X31dozwkG/r7CPI15UKuU2agP4Hn9MfP0Sz2iWhUur2nabEXJAiVPaw== X-Gm-Gg: ASbGncvnPlYoq58hacv/mzIRR2evCyMWhlfgryQE5VPcqKvra8YVONTb7tE3BiOlMSB vPQGheqw0dijvElMkOxMCHOAWloqDRXFLO7jZDqlYm225bMVNSDbcHIWyx+p+5Vr5Fd0l7xCN20 IvY/PhPSWvGtqvYTozqq+RtHvhdBvRmPxCuL/CkwEsmRXTJEC6J66/9noMtnAsoBlfFYwnQ3/4H XGFlvy62TgycqLWqCeGzbed5xkYm0NoUJ9A5EegZjg4+AsUzMhZu/h0NySdOeIo3fXS X-Google-Smtp-Source: AGHT+IFIyaJOwRM0G69WULus0Fzy5dCWbVpW7KaV+YWEtlT4VVlLtH6wLQGe0xff+hEfRRzEI5njPA== X-Received: by 2002:adf:a3d0:0:b0:38a:49c1:8345 with SMTP id ffacd0b85a97d-38a58e0cbc3mr13169689f8f.18.1736105893228; Sun, 05 Jan 2025 11:38:13 -0800 (PST) Received: from deepwhite.fritz.box ([2001:16b8:b4b1:f000:b401:d562:1102:1bc4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8332absm45579309f8f.38.2025.01.05.11.38.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2025 11:38:12 -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 13/13] Input: xpad - add support for Thrustmaster ESWAP X2 ELDEN RING Date: Sun, 5 Jan 2025 20:37:50 +0100 Message-ID: <20250105193750.91460-14-rojtberg@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250105193750.91460-1-rojtberg@gmail.com> References: <20250105193750.91460-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 */