Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2838lqz; Fri, 29 Mar 2024 06:57:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUUK19598ZPV9iOMd2nIv4tiPApGmyHGAjZ6wGAAwblHD6gS2hg8CxW5BdKKURFMYivBGu4WtnwlFS8eGP+BduiMsX7jrXKMdk1DywdTw== X-Google-Smtp-Source: AGHT+IHLepH8NMeA1AvFlIpHVc2kZqWrsFfPE3luKA/ml6eeqLmxgWGAg750cYAFtlq46fTyMNW0 X-Received: by 2002:a05:6808:640c:b0:3c3:f471:cdb2 with SMTP id fg12-20020a056808640c00b003c3f471cdb2mr1289140oib.12.1711720620779; Fri, 29 Mar 2024 06:57:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711720620; cv=pass; d=google.com; s=arc-20160816; b=XsvcGUKBVJSjGF5pmt21ydB/BRT0mxJ2TkGKNAGVyeWcfLRXmvBpHwKxnl29nBzE1v LvDPW7Zl9XdQ5LgdRSe7WrEPn5RJKZQEdXIlnQMJEEgQS/7aVry1PVkf/rgwqwItvHta d13XhQKpxLMyKcBR2IVOpPNQiVsVBBwTNgCMWTqgCRXBGiqp3+bLE2WIEfpN3adwdCCk RuN3FEoUvEv14zCIzw64IV9sdOwpZt5+a1QydxgbapnlKJ85qxLUb96oOX5v/LhqUfFg P9jb7uBYQeBa3DybMBzDE3XCuyuYUbq0QIcV8YuSG/Jr7iAGwCJs7ZbeSW6KDSlT6jw6 2p5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=g3vDceXHh+N2/36iO1Q8YuYPUPERrH/Oti8duGX6TZ0=; fh=8onTUxqcts9ptSB7JBYIkrVhKFDxqEf6FBc3UaekUy0=; b=Khwl+BnDUGDlsouL/ge216O14JSisR9MbzaGDhYYBCrBI9AuwXfa2/njWtiYSag+Xc D/MOypW/HDEqAR/ksuwb104n7V50+BAkmdCyNcU8qLB7WJUhItxpTtUgDI8ZILAQjsTH MzB45rO52EvbfUzvyPowY/HC3yCQ2tO7vjOTSquC24up7wsWKBBcYY/qGwz7/CThVDjX cxRXQ+bk2wWXBKP7AistVb60ZbKoBs/6rzE7+TE0q77XQe1hF1QkjWUe/bSoTF9KYnng P53sA5u6QUgp7QooOx6HgC6d2khyFOHL97NvRuSmt0BF24n1CBk7RHio76GmOuV5bHNw cNDw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sJPQaDMP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-124808-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124808-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m16-20020a05622a055000b0043131a37801si3662582qtx.660.2024.03.29.06.57.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 06:57:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124808-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sJPQaDMP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-124808-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124808-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7CDA71C222B3 for ; Fri, 29 Mar 2024 13:57:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 56BE5199E8B; Fri, 29 Mar 2024 12:42:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sJPQaDMP" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7AB931966B7; Fri, 29 Mar 2024 12:42:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711716171; cv=none; b=V1RqZcIm2JYbGvlyKlDr3UmTHZCWM/k10gRKLQBtcbZCZS26CILkOL/f0m3stoRQAUEOoaWIPqCRvs7H002rtXy5/Lj/HjY3V9uKrJEVKeYfAeGQjnV1c+vupkTZZtmNm/Y3ZxG8APJQRDXHqAsTIaP/V6ByKuFgXIl5hvFq0gQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711716171; c=relaxed/simple; bh=bQ6t7H5CtU7xN2Szuq+lEthMgQEZWj/OElMP3vgr//k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qktn9xvslxXO957CEUIjicU8D/tJglcjdn6gUa4FlQSLaPWSc00CI9oszaSx3RnUCVCmOkYU/OoYIPcDxkKCBWYLwQx2aV2BkN3gAxQu4m7WVjTrdzmIhyFFRYDYGFcj+8XDGtLcwJrYS3tY8O73ynGUavnZMKPehY8ZKdsJ6Mg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sJPQaDMP; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1FEDDC433F1; Fri, 29 Mar 2024 12:42:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711716171; bh=bQ6t7H5CtU7xN2Szuq+lEthMgQEZWj/OElMP3vgr//k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sJPQaDMPUWN5u14UwhVvGX3aSx5HYGzbyUvXRXkhXVTSegggNRqksvqykyUwA6/M+ BzT1Xp3iczVSGNrWEsxEaHHJUgS08z3YzDH3lLTsIoAB/uNJaAJUlJNgml3zjDlw6l 6hjugFLws5Jl5xuFKCf7XN3psPUc3//crWV82JMmZ45QcN/pRnou09hJ+Qz/E0mwKO NM/v/jD6ZJjXUqO363rU6ppWhh6+VY+x6YnUkT3gIVtHBL6dzMV5NWDFbD0yaibB8M 4ome5xrzAXJJfdHaGTNhn5kR9V0dmLFiMP8jpyylo3SQyKJAVg7FaRF/yfxoiv3RMn eFQTCjNQqiZ4Q== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Matt Scialabba , Dmitry Torokhov , Sasha Levin , vi@endrift.com, maxwell.nguyen@hp.com, appsforartists@google.com, swyterzone@gmail.com, matthias_berndt@gmx.de, linux-input@vger.kernel.org Subject: [PATCH AUTOSEL 6.8 97/98] Input: xpad - add support for Snakebyte GAMEPADs Date: Fri, 29 Mar 2024 08:38:08 -0400 Message-ID: <20240329123919.3087149-97-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240329123919.3087149-1-sashal@kernel.org> References: <20240329123919.3087149-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.8.2 Content-Transfer-Encoding: 8bit From: Matt Scialabba [ Upstream commit 81c32343d04f8ca974681d5fb5d939d2e1f58851 ] Add Snakebyte GAMEPAD BASE X and Snakebyte GAMEPAD RGB X to the list of supported devices. Signed-off-by: Matt Scialabba Link: https://lore.kernel.org/r/efbfb428-06b0-48f9-8701-db291c2a9d65@app.fastmail.com Signed-off-by: Dmitry Torokhov Signed-off-by: Sasha Levin --- 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 14c828adebf78..1fad51b51b0e1 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -366,6 +366,8 @@ static const struct xpad_device { { 0x24c6, 0x5d04, "Razer Sabertooth", 0, XTYPE_XBOX360 }, { 0x24c6, 0xfafe, "Rock Candy Gamepad for Xbox 360", 0, XTYPE_XBOX360 }, { 0x2563, 0x058d, "OneXPlayer Gamepad", 0, XTYPE_XBOX360 }, + { 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 }, { 0x31e3, 0x1100, "Wooting One", 0, XTYPE_XBOX360 }, @@ -507,6 +509,7 @@ static const struct usb_device_id xpad_table[] = { XPAD_XBOXONE_VENDOR(0x24c6), /* PowerA controllers */ XPAD_XBOX360_VENDOR(0x2563), /* OneXPlayer Gamepad */ XPAD_XBOX360_VENDOR(0x260d), /* Dareu H101 */ + XPAD_XBOXONE_VENDOR(0x294b), /* Snakebyte */ XPAD_XBOX360_VENDOR(0x2c22), /* Qanba Controllers */ XPAD_XBOX360_VENDOR(0x2dc8), /* 8BitDo Pro 2 Wired Controller */ XPAD_XBOXONE_VENDOR(0x2dc8), /* 8BitDo Pro 2 Wired Controller for Xbox */ -- 2.43.0