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: 13926781 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:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 13926782 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 41D0A189B83 for ; Sun, 5 Jan 2025 19:38:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105887; cv=none; b=FQjt55a19/JbHlZ9d2MpGK1tD9c4FS/DzCNej+9Y7d7EDF4t3afXn5LXA6KtcTLBQRPGbn7BXQ0NGrUKdMxbnp2EMAqCsuSBjYKRz7tLJ+tm/KBhPnzZZX1GgWNrBBZChKFEU/mYxCaOq/Xprq7iGuHDQs188sc8hRyv8fonHjo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105887; c=relaxed/simple; bh=Lkge2qpqBfaColBuXaLwVdgs8nuY9pXm/5kQ2hVpaLw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=aFHhyyS6si8e9lmjwDT5rui+DTGMEa84ihYCTVPzQ6wNd6GNyjtv4UpTe5FEimNLQVnZ495jNZI0SyVIBFUoRbLnRqrDpKHwCKhXj3tvBxL5BUYpWebuMWi8y50I7/nSHXkjgybTNWz3GhGkpz9z+mnPsooFbESNghGVp2AcyKM= 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=Z9C8jAtI; arc=none smtp.client-ip=209.85.221.46 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="Z9C8jAtI" Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-385f06d0c8eso6992007f8f.0 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=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=0uZROf4hO6Zu/UCzMPIcoL3UdQ51TdURKKK1wj026yE=; b=Z9C8jAtIXjqdIWbrZYhA0r7Ch0CeCJ/W3S6NWzYvM2nIhrGL3EFxdPhUulVJy/8Jn2 cGTMUYCjLpkPZUCkGolaPeXVCi5cTSpc2LxjKMoUKMCvXARGzgzPkUhgwDdDqREHbrRN kz6EAL5ckvbJ383Gyjuc4b8aFraWXzxFGkxgpR/C7edvKjqkVZXgDS+Pb4Q8JEbm26qf 8sveSBAVIpLTlphCVqfeanJkjW5QZ0VDmTUvAcLoR7RfXSuhtUQZsvA7O1lEUSSMzY7Y bpM3MMwSyHYdGpPUlKYGTOD4Pc5XlzWOnj+iYzAhI0l4cny7AwWy5+0ATuoL0IgmOK/a 9Hsg== 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=0uZROf4hO6Zu/UCzMPIcoL3UdQ51TdURKKK1wj026yE=; b=vkqn7Crw1cs03hN59jGU9zDaVZbWaftMNWMhN0mAkSZz4NRMReLknV+w8r7T+/tYDr yNbnqe0s1oBeo0A2NJt5mZ9esteiNOHFuiSU8lGbMEeG5rhN54qt+2bsgCSMroXs1/U0 luLn5MFw+2qCj61/ha1xnh5Q3Yph+S49qvaIgt0AgWpox9pEpa2dIpTJqOSu/l9TGnic 145PQImmVBDAx5J5os9uk1zQn8XLRBydXsnk5k68WU8FPHw/9VLmDoTcM7xtaHia4e3l /wVeQwHM9Lwy/wFfEub10ikZGWadh3psb2sJJb2NYG/9NxZiI4SvtngjmyM+wFyD+mVp q6/g== X-Gm-Message-State: AOJu0YxZxe8te+Fdl0a/XZpO5K4Cjr0KIuqoBtlWqYeqvvXoJ6TwKogL FVK5JYPaD19qZ49dPVQajLDjL4uO/WCGW9gT4HKk8ItP7QMnFwNJ2yy2KhW3qBDRrA== X-Gm-Gg: ASbGncsqJx9EPgrb4Nmabp2wWLdu7kR0WQh/Oj5sQXnprIUC47MSZGW8asVxlBksg9N fvw43bCyhokd083lHqIMFTASULhxQDMHCNryOh8efbIztwUu3uIU4qrNL+C14fkTcrrKiSDyYHJ BMydz9m6/vg+/up+nBLrFf5JjauZgwsI79vXCm0DLfiE51890ioqaYAttOZ7A0GUrhbZ3fVdVbm syYVUvjwlq/Ana1TIAfjKJx62N+UdVyQxe+70ORIe+vcHSd9PcjNJRBhtI2rdYE2Y3V X-Google-Smtp-Source: AGHT+IFYZvpHMeXlxtLZaQu1iRqTZpkHAAwgO/kbioUwok9BYQiVlHklugF5qRS6e/mpuoXVre9dHA== X-Received: by 2002:a5d:5f4f:0:b0:386:391e:bc75 with SMTP id ffacd0b85a97d-38a221fa986mr46893936f8f.16.1736105884388; Sun, 05 Jan 2025 11:38:04 -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.03 (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: jdarn <109807817+jdarn@users.noreply.github.com>, Pavel Rojtberg Subject: [PATCH 02/13] Input: xpad - add support for 8BitDo Ultimate bluetooth/hall effect variant Date: Sun, 5 Jan 2025 20:37:39 +0100 Message-ID: <20250105193750.91460-3-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: jdarn <109807817+jdarn@users.noreply.github.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 8a02b9a5ef79..f03e44c51efc 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -374,6 +374,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 }, { 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: 13926783 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:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 13926784 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 477711B5ECB for ; Sun, 5 Jan 2025 19:38:07 +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=1736105888; cv=none; b=khLrX49PRWexQy4s91zAnupIv1EmsOoC5hk6cT5jaKURil/W3xl5XJMlD0+vUzHcCL7AfLDcyM4lqfXcQ6d6G8LtXk9fiRriYens66DQFnQ20U8CCe1wTmlodJCsb4Z/U93gJItq/lv9DaKHbv8v9Etj7cPm5VeoCFKfGuQmEtE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105888; c=relaxed/simple; bh=aWU8an+CJYMvH3dyEDsgLafCDRGAhQsyF4pSi/jfJ0o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=u758ZWvaTu08aIB6qgtDg6qikMK6RRpjs7Y5qOMXblAvIwV4bLd2imUnAvc2CY++ONf/tLjYEYFeJL522Wdxt6naCshANlQrK7orbWsWoQ4BHQTz7Pst0SSDCmnmBQq8akcmRbN4WaK7StEEynp7KFPIKsfUv5/ao85bZQVhRhc= 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=PUHMezD7; 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="PUHMezD7" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-3862d161947so6535175f8f.3 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=+VhUXSGT47hwHqVMEei28Ndiotsn4GzGiobmN8tIssk=; b=PUHMezD7pdGxysc7KH/xbkQKj3NnPDrs/6uJ3MvHUm+bhKNpDLH5pSC4RDKSpApbND 7uwBhETZkF18ci0bTYVvP+C6cP56OwNPjfGy3ra6m0ZSCoOLl8ARSejdwnAcVRY4Fyax GTUixy1tswQ+Q2QIDKjwpcp/O7M/P8QT7W9V3bjDgJ1YIk8MPirke6OYq7VYamHSnL5W qfEddL71LFmSFO7eoHx+CpgZwCpghE7H70+YLvwpOGXTVAf9yYcmnq7h/7+bHjzWrZKj AbtqTyUd3jmZUUE6kDRVHctnYVkjEWJv+HV9z6NWMyBvd7w1y3v8KYQH0taaOHpW04cX TrnA== 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=+VhUXSGT47hwHqVMEei28Ndiotsn4GzGiobmN8tIssk=; b=HmsL81rvph7YTJMlajEaY5gEd5U4LcyLQhA8JKbNGA2UbtMXF4RhUrIvCIcISUrfoD gM9jlKcn3Tay/jp7rYOglxWV8Nq4PfRrTFyHRFfhxaXD9sKK1hAF1DGVOloPwYudEvNb MTaGrsexy++hHdLkmhtWyly+rxVk6dY3e1IdK2LxVrVsS/q2vqb7EHtMt05Kqu+c1hTA QIMj1WuPiCYmNy9hKU0vZXMXSWP2dGG/eOkKZYYSK4gKlAzH7e666LsrYh6CxerIH1Yx neNGzVRKFkPLqarkcjqMlVivqwi4EczS74FlcGpmKNp37D0n/vlKB7aj+7/c9z44IUDm cGZg== X-Gm-Message-State: AOJu0Yw8WVyEtMq59aFpuB1HXa+wURnKcASuh2MW+Xt4Ef3vA2Yme7OD hHiR8NUesWGEIyRvy4MPDDk7+5WtEHSfscQabX/RXe0Iw58MPOQ5aKrsJlaU30dUhw== X-Gm-Gg: ASbGnct7qMqRRKrbdp+xWiYhFU4PYtoKVNB5dqtAk6yQCw+/E8TMH3MHPXZZofUYhbz gtkcdvAILzYxUGpDLy9S0EmSKwQVBhfLoToT7mdSvoGE/QNwX8QimMSjmaJssGOm+8IN/sBu32k nwS1c89e3NlQ3U2ImtU3G76HsRoREF2hZ66JANU2o1wznU7gvLJvBzoV9Y62dLj75wgtJQRQuBO L0zv+aZcIeSSMHF73mrZWgE4a4dfZkSCKvd2c0wO6bb6sMAlbpj8V7ez1u0ltSxvZj8 X-Google-Smtp-Source: AGHT+IHb1ldZFmFRt23zYO7yN47o0oExbSDZO0c2MCig6w3ds18LW08sVQ0Tc9mpsLTVplu00jPIlQ== X-Received: by 2002:a5d:6c6e:0:b0:385:f9db:3c4c with SMTP id ffacd0b85a97d-38a221e2e0amr43111622f8f.9.1736105885622; 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.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: Jocelyne Jones , Pavel Rojtberg Subject: [PATCH 04/13] Input: xpad - add support for SCUF Instinct Date: Sun, 5 Jan 2025 20:37:41 +0100 Message-ID: <20250105193750.91460-5-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: 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 9b9ddf4aaac9..a7666a21704d 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -377,6 +377,7 @@ static const struct xpad_device { { 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 }, { 0x31e3, 0x1100, "Wooting One", 0, XTYPE_XBOX360 }, { 0x31e3, 0x1200, "Wooting Two", 0, XTYPE_XBOX360 }, { 0x31e3, 0x1210, "Wooting Lekker", 0, XTYPE_XBOX360 }, @@ -530,6 +531,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 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: 13926785 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:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 13926786 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 2ECFA1CD21C for ; Sun, 5 Jan 2025 19:38:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105890; cv=none; b=TVpBdKIes15ZX2XFc4ftwr2O4AcsiZgeXyPv53Sp6ZmFXJrC7/EI2tY3stoATaQ7/QD/qzFEsBn/lmchuXlnNz7YTl64h7h8OK3H+PD4AXUOv0h4dw3qvMEuyLyjt2Rr6sA1muWeFP6vT1Gm1mSYUNo96smH+ZVIfqzFMXesaoM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105890; c=relaxed/simple; bh=6n6FM5ob1cZuQDTlhxd9xRweUmu1C8pFP44DlLRMPno=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RJMfkw8fX2iJsGYgP3324q3vd0BKeW5qFyr64B3IEdqAcZVB7b8zMpeJIjgXAL0qvJnYB9pKG4lsElYfzDhtSuWzsitZ8af8GnBUDGqLQyaaN57DQwHHq7SxKC0SF+FZUkHlOckEibXad9Es73+M9RwwXjBFkfFMB3U+UaJ14pQ= 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=XEubTdFO; arc=none smtp.client-ip=209.85.221.51 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="XEubTdFO" Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-385df53e559so10830359f8f.3 for ; Sun, 05 Jan 2025 11:38:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736105887; x=1736710687; 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=HjQsEMUcu55KWzH0xteu0lrIHtDAj9COFJ1Qs3EgXWg=; b=XEubTdFOIYtAPFRDXp+YV3yt11jhAOhE8LJ22iHVrN7A3t/LDnAMwLTe4BEwpm13bc mEVfKIDyhGi8EvPlJ/lsU+vt9Pho+qLrEnZInYVIgLf40rdsUt2tthiCGrsTzWNdVLmy r5stngAAfGXp+601NRWe2Y2wkRIVpAvWs0zefJBQqo2KGg9snLkb9Xtvy57jMmASLXeP E4M3nYQRaHWbaDhYkbf59dcZfIazQTX6z3XWHz8DUdxpCzT1X2JBEZIWN3H+fjaSjC/V qdsd7aWlorfsl9Odlud5fDY1sfY/PvsJq7H0Q0Ph7Y27QLNz99t0wATAraihaD7taBrq iiuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736105887; x=1736710687; 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=HjQsEMUcu55KWzH0xteu0lrIHtDAj9COFJ1Qs3EgXWg=; b=D1MSWAiH0m7ApTwJQ1Z+MBGE35GlElJe+JI+Lx+fNcrLvXuWEEuzanej6VujiKu068 7MHSGZpYE9v5ROxO8CSg1I8uLSyskpCas9ed+Z9Z1LQK8VrMLYspe1JjfzSM2V1y5n59 MBeDA3WHhrOw7PfCGieppYvhNKBI5QhIHi6lZ4l13v55BRix85W/ELhuO/rb/mrqzkeR x8Ax5S9QmKKjFGPWi9YrUmW+RQ0R7AppuCQHUhlywy7j4dYvkjD4hjRcpsDmq3+C6J/F hyh5Iu+BYt/Y0oPlKbB43hxGq66AFK78fRXZDnqGrjYuaNwVG3rIZN14hW5+NWHSzTeo 6UNQ== X-Gm-Message-State: AOJu0Yw60kXuw/R3sEwtubFmC4rR3q4cZu25potg2MMX4T7LVzfW36zf PIpjou9PUZc68wPMyMh1Y07qXy5DzSigiVLwXbRhYvupOZUZ2xoiuRU14YG67q/T4g== X-Gm-Gg: ASbGnct9OKT5PW/7ijXUeuB+ioHafTz+0gYT2U5PS/dUx47kEeYLOFomdstYgTpe1od kBTDALmeqHG/QxRcA0lpLOnCLu1JU046r0I+HJrJR4IwMGXVJ85yVilDYxonN9dzNw5wA6ERpQw 7VNKH4+kyRp0o+cfsVbe6o2qfwZWato2CeSudcl6tHzi1Ny8yOeAPgF5NvyaByOoTKdhdUtTPE9 JAtn2sQh2MlaKPEImvzIdUxOprPc2XMfw1xaINb+58lFamo4gg3gaCZZqYh+thaQ90J X-Google-Smtp-Source: AGHT+IHnX0bS5vnp+DJOBBRw/U+UMIyCZtvziJHYsZNPc5w3tqDmBve4vX4TbuDqDf77EKTYlID5rQ== X-Received: by 2002:a05:6000:70a:b0:37d:4647:154e with SMTP id ffacd0b85a97d-38a221eca99mr47900512f8f.9.1736105887471; Sun, 05 Jan 2025 11:38:07 -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.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2025 11:38:06 -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: Kikismine <66830108+Kikismine@users.noreply.github.com>, Pavel Rojtberg Subject: [PATCH 06/13] Input: xpad - add Hori Racing Wheel Overdrive for Xbox Series X Date: Sun, 5 Jan 2025 20:37:43 +0100 Message-ID: <20250105193750.91460-7-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: Kikismine <66830108+Kikismine@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 9d9f73fabe9f..4e66635fd7c4 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 }, 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: 13926787 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:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 13926788 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 6E5FF1BBBC5 for ; Sun, 5 Jan 2025 19:38:10 +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=1736105892; cv=none; b=sRfFpCtJAxYcBNJQp5NsC3/ucqFn6HgBfKNWtduJkotzIP1pwFl91oqptD1EimWU8+3L5U9BK2rFq3RnDSFhYREvTnT8Xe8wBWC+gXT7CKU46wBnJW1zsPnplKpy3Gf5+d8dyl2c19NfCk+L5x8YEbJZaWvnrROBpxcwO1zQUGo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105892; c=relaxed/simple; bh=noqjFJonj9JNvYq6KmZARNUpzr3L4X1h2cGmqFmU35k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Ny4qAyDNaL2voMfZLFS+w4afwFta9mkYva4etg9ycAvBy5WYN+GsBFaTSy3x9zoULt9g4CcOY9H21P0IG94Vg2olrCGyqlwrVFriV6RtITdZJWQgfsNyWcZpk6s7+GqlJfYQnuXi/wUEtInO8wy9EVbzx8q+lv+t83C0oxOdQe0= 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=lE1MtTj1; 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="lE1MtTj1" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-4361b0ec57aso136817865e9.0 for ; Sun, 05 Jan 2025 11:38:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736105889; x=1736710689; 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=8aOF6L7OB0q68VeWpnzMwhic7pt6/Bcx2nRzlfzlUIc=; b=lE1MtTj11nsWQneLPumEEIkaGtfoj1H+geKT/5t7uJxClc67DrKwf2gibpzUEhPzSg tiBTpC7hfUx1elbto7/rANzvKo/msGUG9XmseSZuThvMo/gDVSN2WaiPwqjCtRF8PgjB m+K5+YC03aTSnsgVCNddhoD/2A2Dt7S/b0huL6+B31lmuuQTFEfmOQ7OxwS+aW3CSdlJ v5TjYUtay4f3ZPCloY7LanmsOcFLqTRSxs7F7dI3rF2cN2nwrcukv3oSlCuQPo3ItnnP sWPWtxWvaAcWGn6B+xoUVXQXS0e3nbNeHoG5My9kHGYMA0wijB2w05iLsNgJ0Mhrr2EA tyYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736105889; x=1736710689; 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=8aOF6L7OB0q68VeWpnzMwhic7pt6/Bcx2nRzlfzlUIc=; b=ZWeS2lucPeniG7U+4qhEqkRypPmj5/hLVhzIGIh5J/zfQAcN9nIt4f5Zcf8Mx1MLCW kcdjW5lHYopAxFmJx7zZexUDEHaTR0M5MYlxgWbiAP6N3ttZWz/KN/ka9ddIX5paXwN9 Lg6+VZiU5C+lYOSIucyqNyPCzX7u3aPdfyOg1MhuiBFNZpgWp96JT0BKmDBeCCeKN9i7 +PQl0BCK0Bf8+ApNwWU4Z751RDxlSt5yvLC1Pd3YL6CjL59hTOZn449voY2MD6A3dQ3n JOUTuZSUQrnKsSCntYUunNWyivod/jbnH2t1bZvbCrzrtSaQWUv1f+A7Yb43+7+O7GgR NrOA== X-Gm-Message-State: AOJu0YyB/ARm8hu2NEJJ6jFa8FjIBMTTaGtUD1LPIHhB8Gp+wOuCllui CigvUoMG5qH76aDmw38yBpHDJqnG7rxqvuguKxoGRNVPMKLIOyCXhMt1zASCAJu1Ow== X-Gm-Gg: ASbGncsQOYvJWTss1/mlMqMVnVYpJi8LA2DYigbNZ4r7qBsukI9tWrnCISB/JcSwz7G ng7oHFSEGd8YRYY/yTK4H7Kaki875OTifrRGoYQVJqUNRLbPZuuserjC+c6689VPxOYF48VA/Rf 2BhoZ9Wz4tH/5vrVQ2avJf0ZyQZLTvRdubLVeYiVpNPP5OXyfZMy4kJBre+dMq53nOjTnfA5XTH 5pXiSryWjd5nqA+VhxBDt+5nFmeoCS5kJYcnQpdO64v+zLK+V2zb122ZFhVdbhZHF8C X-Google-Smtp-Source: AGHT+IGMb10S/s64ERFsxM1r5Q2SdZ2JXpn6hXYgS4nXAmOI8cOaXiynZbo/Do69e8JwqQ8rAGntWQ== X-Received: by 2002:a5d:5f83:0:b0:385:ec6e:e87a with SMTP id ffacd0b85a97d-38a223ffaf7mr41905000f8f.43.1736105888724; 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.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2025 11:38:08 -0800 (PST) From: Pavel Rojtberg X-Google-Original-From: Pavel Rojtberg < rojtberg@gmail.com > To: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, gregkh@linuxfoundation.org Cc: Andrei Ilyashenko , Pavel Rojtberg Subject: [PATCH 08/13] Input: xpad - add support for Xbox ONE liquid metal controller Date: Sun, 5 Jan 2025 20:37:45 +0100 Message-ID: <20250105193750.91460-9-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: Andrei Ilyashenko I found that my controller wasn't working with this driver. The LED would light up and it could rumble but was not registering any button presses or joystick movements. I suspected the problem might be that it was not being sent some required init packet so I tried sending the packets being used in xboxone_init_packets and found that sending xboxone_pdp_auth got the controller working. At least for my controller xboxone_pdp_led_on was not strictly necessary but I decided to follow the same pattern used by the other two controllers. Signed-off-by: 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 450a45152d63..b2716b49d3b6 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -694,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 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: 13926789 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:47 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 13926790 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.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 5D23B1CDA15 for ; Sun, 5 Jan 2025 19:38:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105894; cv=none; b=JmZ6eI7aAWPPdPGEtgkPWY8QAuZsN0n6FEMWpVV6yGFXGoJrK+UdLV8Mm+oLtinAf4jVfHpUPQwnwSY1UyPDjHg3FH2QbbcBcmwYzIGUnbYy4Qg8IDy4todHl5c0eNE4hwJJd2H3Up0mALUI3k3R0ck5gNCmm5svgqXXZgp+SuE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105894; c=relaxed/simple; bh=1Ese8EMl34HOd+M629dtCkoZAKm9OfX8Wib/r97aCZ0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=h746EhYVWGC4kD00guscBFU9Og9qC3ye8sJG1JTjsHgchS+AxRd//9qs61epFMePU8wu63Em6TJwhYpfMjmeI2Ip1csDs8vTlONOS1Tw/61c36+VaUtz/qwhbQ92OBLgGILcAexvrauSwmVpb4HyOhVmnWXEmxXLI+DKcFKjNGg= 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=FWoCwgsP; arc=none smtp.client-ip=209.85.128.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="FWoCwgsP" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-436202dd7f6so156615735e9.0 for ; Sun, 05 Jan 2025 11:38:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736105891; x=1736710691; 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=FWoCwgsPTadTgBQT/PRZKNG6shImNVlQ4H1S4RCoe+f74zYc5iWc24i94giOQtKCNz ySHAlvTXFntrXUYLVFp9U3Lp0Um00NrlWY/2B7nPkxj4Li6TNIrolguWhX5Y+o3HyxwU UXg94mS/dk+q4sBmKODz6iJOJ6t7i8dEhogtVs3s2oMsoY4md3K631ukC0yidLyWkW36 2gk0447iCaXpB6HGVoxmLj85URdhJFsf9eideFtnfzdKhbpham63F/fRyClQDCvJF2Ow egh8DYIoilIlBt68Avxfe1Njsr5rUH5tHpPHROyU7BzaQqKWKZ620hYWBns9tB8m12cS LZDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736105891; x=1736710691; 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=dmQeS8Q5pFm/T4ijaTStvYk/EknRDkidwvLlpJx5DrA93UyfBHN64RKYi19A+fzoIh 0ppHw7RUFOJ0mbR9H1gIPZYXdXBiy2Wn/r3C3LbODUQuXFc+4Ys/60pasfDtWzETmYhM 9GOgpJlDDOAOj93SvIKdv7Nfe6i1mLYGrF0+ZtjHrx/vS7o2Os7/P6NzxhItTVdZyAR3 oIwMUf53ST3aiEwPDMpxOeZ7Q0YkYnhQOmPHzNi6NospMJnLOgBwq1xngLKxdhiQM7Go rEJG26pS/TNsOakaMXU/jlEUD8YAHv2wmq/fSS7YJ0j5HYfiXkzL6KJ3cZp6ecktBKkf 8u8g== X-Gm-Message-State: AOJu0YzFE4EzGz2jYWPD7M6h1qhgJ2nK/a91Ba4c0KLP8Qiyx/VdqJye NRV3ouvxf6lxNQbFhnAJy8RZ4mcfvZPkFwoE7AadAWn0PvDLZlkm/WJRIJrUdkwF/g== X-Gm-Gg: ASbGnctK88kAEflS1oz/zBtOIl1DRNX6zQ97p7jJveBudpP7RhbDCHurHcqFudtKUz1 DKXgoyMg5Lqq//gs44gekhO+4Qb+jpuAq5WqB68EDZ62gv935N1mEJn2NYFAfGj9w7hByfXMYNG YgB25prebZesRXpym81NewInlxi/j2yfmULOgThKQdFWfOjVI+CTYr9jJZjKP9gKV3UlzVy+wzc Eb7HOig9DssfYSRo8EGeglFqNw5E8MIY3tMCPhFZvqsKQb+GmG6hVx90WzN18vZlMuA X-Google-Smtp-Source: AGHT+IEkh8+1kLvIXo8g6BhlvGoqEFLFbZb8RyaKtxrv1R+c84wpTGjdhfC/7Gfy3GnU1LH4Q9HQnA== X-Received: by 2002:a05:6000:2af:b0:386:3752:b28c with SMTP id ffacd0b85a97d-38a223f5c3bmr40497094f8f.41.1736105890696; Sun, 05 Jan 2025 11:38:10 -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.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2025 11:38:10 -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 10/13] Input: xpad - added Turtle Beach Recon support Date: Sun, 5 Jan 2025 20:37:47 +0100 Message-ID: <20250105193750.91460-11-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: 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 Sun Jan 5 19:37:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Rojtberg X-Patchwork-Id: 13926792 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79E641CCEF8 for ; Sun, 5 Jan 2025 19:38:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105896; cv=none; b=JMgZIMu1tOjHRA5pqXi0w4/zWQfG8CBPR3Aa05Nq7UhwzPxWe2cVTn0y5RcxYHZrCs7aiC6IAvvBVVvn67ZCgbMBnHDksmgioees4Q1kzS2ippSd3lEgHJ+S7wvGhSBAD+VJzCuM03iCx+5gXSlRSO0wdKJQHNzgmjn8T0Ol7Hw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736105896; c=relaxed/simple; bh=bdAhw0nOJ3gMlwXW6fj6vIVj/mzHEAxs+HQq0rqYgFc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Vk55KlVbD0J0fhhxvG0rh1kl4AoelydpvbT516qTG32fkWBxkd2bK9YDpE1TywU4gmgk+UK1tuOys8WRGYIFgOkiQbd0m4/BNB+2JL1CXE1VA5RYybNacf4TQIBuDV3wNh57rfFZMFsKBuV9BS/2g0eWDkZGvcrQjKqJeJrgpJI= 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=MbHynd91; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MbHynd91" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-43622267b2eso144379025e9.0 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=y5IdXdhiuC4G8QgetXQKn1DDQ9a+7iNLXhj3vhY83Do=; b=MbHynd91m8v8BimiiQ4uzIbOKYNVdZe17QQAuTzuQAs7uZkIeUcOJVd2ioT97uz4U3 +/JEKj2VgfrGntkg0hSkI2p7s6CMgZ4JSoaGCIni+wRRRmk7023sh/CRfCkj/aJtCyR2 pWP93KbPvrgKkHYxtOGbwvQhpm/MIEmZw6A0LsWZFWl/wMlPTNV8wo0iPRNSumSxAzFN Xbb6f1xacx1z/5mnqOODXdA5pYps0n2bQGFPoGCWwjNtDlXCt8rQr77FDYZNckXuQ8Nn EkIKHAO4WC4MNYkS0Pg+BQvXsKLKrbmYHV8XlA7Pt8giWBT4nNGEvzxt8HpC6Pe2jvdt jDMQ== 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=y5IdXdhiuC4G8QgetXQKn1DDQ9a+7iNLXhj3vhY83Do=; b=uB2hoIASppKaTU4j6g+wHJH/x4Uh0R4XBucvEJnHjDyfpQi4h2ky3rHMrU6gnbK2zZ vXsH2nE5XqMOnfShEoYYjhhIVEnyhq485mUv4/P2SFzcOKwzcmKdtC01WHdeZW2jk4jf RZRyRRhZTAQ+zkje+J90+MCSnDjNeBMCMMoW6iG8vQ56+kTdV/XhTm3VCtCN6S1PGHK7 6ftI67H0ZFz3PQxgeYmhuFPiKdEunaBIwVOScf6LlEN61Zy38yg6DpELQbF9i5HHTDMh hDtx8lbQfzTzlt6sAdt1jIzDxm6CXYUCBHX/2sqbi2pKMZJJ2lFZIIyYEgOMtr+Byfgb LjWA== X-Gm-Message-State: AOJu0YysRa1gQbE0jm50t5T3oBgE4vJk+C+loT/J72riHztNMse79EYn sFz3CMiTeTqopsUyInHkVVqA52Jc7U8QlxkQVGZV82UFwHL+k0Hq1MiN+R1LwT9UEQ== X-Gm-Gg: ASbGncu2VlNSY/v/y4hZTF3SoTprotCb4cG6weRVNvI1flVRvAs7Z66pp9Y+/DnbRsS SwD4R/ZZ7utBHEuDyhqg0dYAMexEflOw4zIIWtTMUJaS+9uBgepZ9TToOzyJi/mqo2Xgucff90x q2XWO0TxUWbzsE/6Y84svIm658GXYgH4MSWynhDUkHEfvph4MLgLzKYSVdUkiCTWX5FrD9EQqOv Q6XIqvKIbwvTbjm/N5vYU9ZDpSGlXap54JRRWOViSW8P7T38FbzyOzDKHP9admsMK6z X-Google-Smtp-Source: AGHT+IEbhuDnvWKJ473k1TY5c5yg6lo2r7w+LTLY2/QJUZ11aRaxbWzmkiCbIhBGovEUDu7od0KYKQ== X-Received: by 2002:a05:600c:524f:b0:434:a0bf:98ea with SMTP id 5b1f17b1804b1-43668643bb4mr493456105e9.9.1736105891606; Sun, 05 Jan 2025 11:38:11 -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.10 (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: Matheos Mattsson , Pavel Rojtberg Subject: [PATCH 11/13] Input: xpad - add support for Nacon Evol-X Xbox One Controller Date: Sun, 5 Jan 2025 20:37:48 +0100 Message-ID: <20250105193750.91460-12-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: 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 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: 13926791 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: 13926793 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 */