Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3012798pxb; Mon, 18 Oct 2021 06:35:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZN62PsdNxcteqj0QvhhdBrmXaxnLinXjFPY4GFknDhnm1loidXcyCnfCcxvVdNiR6aSMm X-Received: by 2002:a63:688a:: with SMTP id d132mr19337348pgc.187.1634564152250; Mon, 18 Oct 2021 06:35:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634564152; cv=none; d=google.com; s=arc-20160816; b=Xato6sIyuQE+YVnquHStLnQI1ZQDxWS9ab7TyxgKbtU393/+H123+D9hStv6sCpf7M Vbun8oN3irkOceWCHmUpq4OKjzunOy9ygqYLtXpxZwKkpm+o8eLf2JNib7EH9F+7GEx1 MTUpp5vsmGruDUp2K8NyNpAWQgLsxbpjhjPcojW6xQJaj9nX8HtJkFqTBIAgr8I7/T00 HL18l7ZCla+FyXw+DSQiohXZOqZ6CgkXG7l3ljj49O+yNlToWJXkrn8n658UM8j4EWF6 kVeGGSQa2WdiZbFa/Nmu0ZFMmh37qeq8nexzC9T5OSHhh5M3dxRd7Wvj7qyYa/pn7dB6 bMzA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=kyDOVjIA3I3sERU8LFv6oQVj0FiuPZgycbv0IelW730=; b=t91tix8ha+bBOEVKkcIu+Qk0EQE4xE23jJ7/HVv5mWhXwwCIfKVzVc/TJfogAGZniW tbpN3MM9/zSMwUEejQMDc3EIaslbURYS3UPsp+9lhGd9+4xd9P8QgwW/8Cqs7iEHHje2 ijr5AsYz3gYVEqlUM+3baw2Y2vi3PYG10UOszP4Y4JPrMZAIZNpJ4OdVVPbdWMM4znyQ 7BqT+hTEfey6K67IObmXTuy8O+lsUDnM9VgYZYjsMLqclP+gmAlE67LpO5D3oY7rEWXS BL3CXjR+4dVhNkslJh1mUTJNfMmJSk8wapqKXbUwjsoCDd4Qp2zyVe65OCqgkVTmz8oJ C8iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tCeWEscQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z7si25851753plg.391.2021.10.18.06.35.35; Mon, 18 Oct 2021 06:35:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tCeWEscQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232735AbhJRNg0 (ORCPT + 99 others); Mon, 18 Oct 2021 09:36:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:52546 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232871AbhJRNep (ORCPT ); Mon, 18 Oct 2021 09:34:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5E28A61283; Mon, 18 Oct 2021 13:30:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634563816; bh=jJltLhp5mJZj8yQLF7BwJtVR9D59D3oA5UWecugMx8g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tCeWEscQ6w7B4SevRVqs68BeJP7vB6IxCM82kfQ/gMaWYxFigKjCOEmBTX1PUCQNG 39e/dyODHu3fj0aku8eBiemoYu3OrNKh+QX7miR7NwB8xxk2Z778Z9YUBi1wWP/zs2 yAJwLB9DZLuwy5E0n9fkTm5cgCBWwaD6uykII73U= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Michael Cullen , Dmitry Torokhov Subject: [PATCH 5.4 26/69] Input: xpad - add support for another USB ID of Nacon GC-100 Date: Mon, 18 Oct 2021 15:24:24 +0200 Message-Id: <20211018132330.333997939@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211018132329.453964125@linuxfoundation.org> References: <20211018132329.453964125@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michael Cullen commit 3378a07daa6cdd11e042797454c706d1c69f9ca6 upstream. The Nacon GX100XF is already mapped, but it seems there is a Nacon GC-100 (identified as NC5136Wht PCGC-100WHITE though I believe other colours exist) with a different USB ID when in XInput mode. Signed-off-by: Michael Cullen Link: https://lore.kernel.org/r/20211015192051.5196-1-michael@michaelcullen.name Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- drivers/input/joystick/xpad.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -331,6 +331,7 @@ static const struct xpad_device { { 0x24c6, 0x5b03, "Thrustmaster Ferrari 458 Racing Wheel", 0, XTYPE_XBOX360 }, { 0x24c6, 0x5d04, "Razer Sabertooth", 0, XTYPE_XBOX360 }, { 0x24c6, 0xfafe, "Rock Candy Gamepad for Xbox 360", 0, XTYPE_XBOX360 }, + { 0x3285, 0x0607, "Nacon GC-100", 0, XTYPE_XBOX360 }, { 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX }, { 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX }, { 0x0000, 0x0000, "Generic X-Box pad", 0, XTYPE_UNKNOWN } @@ -447,6 +448,7 @@ static const struct usb_device_id xpad_t XPAD_XBOXONE_VENDOR(0x24c6), /* PowerA Controllers */ XPAD_XBOXONE_VENDOR(0x2e24), /* Hyperkin Duke X-Box One pad */ XPAD_XBOX360_VENDOR(0x2f24), /* GameSir Controllers */ + XPAD_XBOX360_VENDOR(0x3285), /* Nacon GC-100 */ { } };