From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796382452; b=gcZLi3Il7DpMEC2YCU8F6YXm57jHC0zjNu1xQ9X0gFtj87jzSH/8jL46ofxSUe7wLSmO /YfQtAA96GS5Eno3NVbkZsjMhcwJjDItxkGeKKnKyBCPYnxQGqIqSkGvofvuoUPgAA2Ww T9deXmBirzS6JSx4/P74Ujv46SbfKwjI6iVWpotcyBh+soisqQ3jUmI3GdmdJnKHz4m0h ZEgZLBeF4VZa/s7t9n8cjkJ01fHyGUljZx/2LmRVZTBSOh9nuohSfIU+UVSbMbnpRnkFd lkSCm9COTpB+os6Xi7FWb/yCle0/5tMXcVj22QMxe6Lx+ojgPxjFjyxuXc7AkgjcENg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796382452; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=AiN+6Noat5ohj+eK3+O5uhQ2Df4XdD5CFzOEp6oyi2s=; b=sQayLBpK2O1WSCbnqZWivyy/1MoFk/IqraC+EZoyzUno4/nVDNkqHZwkMgKbJH+fPyR2 4VPH8wak60gNuB4SFfREomPwkqxO/wVbktWHdLgh5UhK+BaD6IsRK4VEhVpDZ26M+uGxv DVrhGmWATkp/qel/+4Jte0nDZCecmfkVReDMHF+rj5XcvVpRAhJkYv1gQfaXLOoKuf/Q0 Arygr6OvIR8obF9UVMDXYHj1UbVwa1tBPhhMg1+QnR3MtqR+dcQz7JRHDYN9sTe/yaw/J HB6Wmamfo/3fgb/3K8uwcs2U5c/WXZ052SZ/kZ4YNwMsLLNouW2TjR1DXF5MZGKwunQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=rskCg5lr; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 01F8C606A332; Fri, 4 Dec 2026 11:07:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=rskCg5lr Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6899D1F0092C; Fri, 4 Dec 2026 11:07:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796382451; bh=AiN+6Noat5ohj+eK3+O5uhQ2Df4XdD5CFzOEp6oyi2s=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=rskCg5lropvziCEVGLc/ttNZZbhsj7K48NfGlRX5+PkVW4kI9XyZjv3N45FNsdJib TtU510SmuOL1s5F0SNtzQPUSyxaTwHqvQ5KM8nzVIr1BfuNE7jBkQD+Tmi+TG5yJd9 Q3LJFfbW3pBWx1tYpjDkAbYHU/1moVtf1ShQZPOU= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Juan Parrado , Dmitry Torokhov Subject: [PATCH 6.18 461/703] Input: xpad - add support to Hori Real Arcade Pro 4 Date: Fri, 4 Dec 2026 19:06:00 +0900 Message-ID: <20261204100640.047224268@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100627.522266145@linuxfoundation.org> References: <20261204100627.522266145@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Juan Parrado commit 9cfed185db8f1c12bf2629fb37c77d85bf93b193 upstream. The HORI Real Arcade Pro 4 in PC mode is currently recognized by xpad.c as a 'Generic X-Box pad' and works out of the box. However, this generic name does not match the actual device name, making it difficult for users to distinguish this controller when multiple devices are connected. Tested on physical hardware. The proposed change works perfectly as is. The MAP_TRIGGERS_TO_BUTTONS parameter does not work here. Other arcade sticks use an identical configuration, such as the 'Street Fighter IV FightPad' and the 'Hori Real Arcade Pro.EX Premium VLX'. Signed-off-by: Juan Parrado Link: https://patch.msgid.link/20261109194118.18127-1-jparrado1817@gmail.com Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- drivers/input/joystick/xpad.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -289,6 +289,7 @@ static const struct xpad_device { { 0x0f0d, 0x0063, "Hori Real Arcade Pro Hayabusa (USA) Xbox One", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOXONE }, { 0x0f0d, 0x0067, "HORIPAD ONE", 0, XTYPE_XBOXONE }, { 0x0f0d, 0x0078, "Hori Real Arcade Pro V Kai Xbox One", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOXONE }, + { 0x0f0d, 0x008c, "Real Arcade Pro 4", 0, XTYPE_XBOX360 }, { 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, 0x0151, "Hori Racing Wheel Overdrive for Xbox Series X", 0, XTYPE_XBOXONE },