Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5112888rwb; Wed, 17 Aug 2022 11:16:15 -0700 (PDT) X-Google-Smtp-Source: AA6agR7MkrIPLrF3ffyR3gyzt2FeuxS2UZe8O3UCSEcLzBlDNbTf7EWvXVu30SBhvRmc6KUcmBaI X-Received: by 2002:aa7:ccd5:0:b0:445:cede:7936 with SMTP id y21-20020aa7ccd5000000b00445cede7936mr4873456edt.223.1660760175626; Wed, 17 Aug 2022 11:16:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660760175; cv=none; d=google.com; s=arc-20160816; b=Uk/K42U7i0INt3XdV6cLxIFG/4ZbjRXpF2xxkYAaR584zqstDxm0rEhGba0mQ76o2F txq3b33U6ye+XboO1K7T5Zp5xp4RjxilLhzSZn3j4sSoJ07rbhcUN/FVcWKeOp5GwiJ1 dJZ+uHiFNLhvmhKQIRU/63NTkEihzD4ntZzjzhEuKm6sTf+s8lX7xv8sxAi/OTRvBw63 2KR/ndZjymD+RHg9kyuo/1tpOy/vhVo0UMbafddS415lUcQaCnO9pkBIDrPV2dn6NTCZ kJw/dS5lRgPedp5tsQPr/5ODCSweCb9ReMOtHMdxMPx1OHyPO+eLS6GVKLQB4jIpe8+K klbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vTaJzQMO9aQaSOztqsBCXeGz2f0zGMSY5MlxCdWwSg8=; b=04cnUvOJvFiVsJic76ft/VCh7iL4BJgKX0y3p7B2YsBW1gveHN4hPYH4/liZOkJ/Un r/KBWXRdX0UgQz32wZgGWNcX27rXm3jIE4sJvmyUSbMX7XIkOQKM/XOVxl0S6wQWJzva gy4U2cNswHG8LiW5eqFb3DcQ5ikcdNHaGrunAnIZZQEVXDvAE/D60V/Hdwu6bUzH7uYF xoYT9Yy+eLFDocnpV9fp5Y+r/T3dJBegzOaWLYjR8MOChvyBr8xcpbtxEw4bKji84ayf mtc1AusXTUBXYC80sXPCoFMX1gi0Z9tjQBDyB00rp5Z6to3rVT9fV671xehbb1vwpDvo 3wDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yocom-org.20210112.gappssmtp.com header.s=20210112 header.b=DsN5uK3Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ji5-20020a170907980500b007317d093e6esi14124318ejc.822.2022.08.17.11.15.40; Wed, 17 Aug 2022 11:16:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@yocom-org.20210112.gappssmtp.com header.s=20210112 header.b=DsN5uK3Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236230AbiHQRvn (ORCPT + 99 others); Wed, 17 Aug 2022 13:51:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237692AbiHQRvj (ORCPT ); Wed, 17 Aug 2022 13:51:39 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0C387DF4A for ; Wed, 17 Aug 2022 10:51:38 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id u22so4339972plq.12 for ; Wed, 17 Aug 2022 10:51:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yocom-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=vTaJzQMO9aQaSOztqsBCXeGz2f0zGMSY5MlxCdWwSg8=; b=DsN5uK3Qx9r++HxQBJ1lui6N+wacnFiEazIAmLmiNiJDzWhBbfTpscZgRt/kD1x3en bRDEE9ZT90xgeszZQsGk10Pbbyt1Wh9jIfDK5GWOevKkz1sV2wcROYowHFyAAUr1ktRl cDjMwxZi9tvYjoZxsJYItha//CYf4pky7QjHPihJxQMRcwKZXKnuRZwW7IklnqWJ5F0j Oh1NFSHD2aqrtBjfaGUrCgaCqgyTx9/ng+2z00GNd9t5kOO0MN7JA4JWxgjuCKecwhI0 oTO9VtQxlWYw4R3nfLrvSjhZFRdo0/Bo4HaS6MJ1/7+cbFZQ8Zox/IAPPG6gFVRSjzjc X08g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=vTaJzQMO9aQaSOztqsBCXeGz2f0zGMSY5MlxCdWwSg8=; b=S7PcbuuJyAsQ8yU/LX4NeGRMQpygZbBb/YXN6X0Mvd2ByaO2qaXM9KvA2Zh6HPTZ6S zz8yAtqcmNyUN4BE1af5OQtsq9OxhQhBzEk/u4Q6Bm9HYqMdJvjlZ1UwU8siVNiRK7eX y6kbo53tU9Jr5YYKiZL1nbt+q5AkPJwy1odhXLptVtbD+KD5toCkBjGMb4XMty1lkwBO E8SmNqMa0NjrVN42Yprsg6qVdUfNXcPeJm3h4saamZ1lRXEK28AeONqO4goQV+DOlH8w 4A5hPueN7p7rNmowBG5Nq7jtRN69yet1bRYDrn2GSbyhU3MT41YwnpHMtpAYDfubmIZl 38Qg== X-Gm-Message-State: ACgBeo1GG2qP+PH837DJ9/KoGjNIAMbYP1IRbhWkiim8dPf5zMZSZsEy 8pulcG0Bt9oQJHf6bj3oA1KI0g== X-Received: by 2002:a17:902:f548:b0:16f:9649:be69 with SMTP id h8-20020a170902f54800b0016f9649be69mr27156844plf.134.1660758698082; Wed, 17 Aug 2022 10:51:38 -0700 (PDT) Received: from localhost.localdomain ([2601:600:8f80:973::5f]) by smtp.gmail.com with ESMTPSA id z29-20020aa7991d000000b0052f0a616a87sm10734127pff.168.2022.08.17.10.51.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 10:51:37 -0700 (PDT) From: Nate Yocom To: dmitry.torokhov@gmail.com Cc: nate@yocom.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, hadess@hadess.net Subject: [PATCH v4 1/3] Input: joystick: xpad: Add X-Box Adaptive Controller support Date: Wed, 17 Aug 2022 10:51:32 -0700 Message-Id: <20220817175134.15084-2-nate@yocom.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220817175134.15084-1-nate@yocom.org> References: <20220817175134.15084-1-nate@yocom.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adds correct VID/PID for this XTYPE_XBOXONE compatible controller to xpad_device[] table. Signed-off-by: Nate Yocom Tested-by: Bastien Nocera --- 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 18190b529bca..c8b38bb73d34 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -131,6 +131,7 @@ static const struct xpad_device { { 0x045e, 0x02e3, "Microsoft X-Box One Elite pad", 0, XTYPE_XBOXONE }, { 0x045e, 0x02ea, "Microsoft X-Box One S pad", 0, XTYPE_XBOXONE }, { 0x045e, 0x0719, "Xbox 360 Wireless Receiver", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360W }, + { 0x045e, 0x0b0a, "Microsoft X-Box Adaptive Controller", 0, XTYPE_XBOXONE }, { 0x045e, 0x0b12, "Microsoft Xbox Series S|X Controller", MAP_SELECT_BUTTON, XTYPE_XBOXONE }, { 0x046d, 0xc21d, "Logitech Gamepad F310", 0, XTYPE_XBOX360 }, { 0x046d, 0xc21e, "Logitech Gamepad F510", 0, XTYPE_XBOX360 }, -- 2.30.2