From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from endrift.com (endrift.com [173.255.198.10]) (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 D3CD4388E55 for ; Sat, 12 Sep 2026 03:06:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=173.255.198.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789182386; cv=none; b=ub7AVI9duZTgFGeIrcIfky1NIoFvzYYegv9lAbf5kjmY0e6WVoQheVzYQuODVs2NQ+CS8YeMD1ZT4jRNBI0W7HpI6CJ3KkeioYOQhZKKZYTsdf1TilnXgHkmAlNRx3oMT3zOkXqboNIIRLdulYg5viIDdR8lLK9u+pMeflRkNi4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789182386; c=relaxed/simple; bh=WkZMpc4CWuTucwIkcTPv4ta1znN9gM1Kt2vmjLU4iiM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TYLtLWxVszpUOhfoAFHZAvuX1qFdTs6CK+bUD/RgXF0TXlpY361l2W8w+jM7RZ9ROzh5omRwAPY4WF2MYZx1wvsmxPnZxlRXmDaBEA6NWgJ8TJbJs+rOzzKc/j57B2wyutV0x2FkSJdmGit4Km7qKocagt4i3immBBAu/barQiI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=endrift.com; spf=pass smtp.mailfrom=endrift.com; dkim=pass (2048-bit key) header.d=endrift.com header.i=@endrift.com header.b=Xrp77p6u; arc=none smtp.client-ip=173.255.198.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=endrift.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=endrift.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=endrift.com header.i=@endrift.com header.b="Xrp77p6u" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=endrift.com; s=2020; t=1789182376; bh=WkZMpc4CWuTucwIkcTPv4ta1znN9gM1Kt2vmjLU4iiM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xrp77p6u5VLQKNZ5GCR1VPhYHTgMSNp7ZDNGET7bNGLaY5c9P9GsguCzvKDbW+/8d +vEjLm3pxfiH7qVyqRCkepxqX7rMnRsls0/mCvvie1qBJlzZ2ltSZSxoNyDz3RsKHz Cc7/FKQyUjggNLhCi2vn0wGAnja9a5YCY7V1yZvmxcO0RafsUrCy69TI9IvGK9fXhi aPd7Xhe9FUsYySeMdhOAlETsedpIYSo6ymRaOzOxeRiCGrMebLCdSJuFgOANk74Nl5 gG/MUAtdurMSSDBzsSFxwpYzNNNdGGmkeNd+JUG6uZBSCyoAIjIooDjEiH/KBdYuZX 8yAXwIrHWIeIA== Received: from microtis.vulpes.eutheria.net (71-212-73-87.tukw.qwest.net [71.212.73.87]) by endrift.com (Postfix) with ESMTPSA id DB7AC13208D; Fri, 11 Sep 2026 20:06:15 -0700 (PDT) From: Vicki Pfau To: Dmitry Torokhov , linux-input@vger.kernel.org Cc: Vicki Pfau Subject: [PATCH v7 10/12] Input: Add ABS_CLUTCH, HANDBRAKE, and SHIFTER Date: Fri, 11 Sep 2026 20:04:21 -0700 Message-ID: <20260912030426.2997003-11-vi@endrift.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260912030426.2997003-1-vi@endrift.com> References: <20260912030426.2997003-1-vi@endrift.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add new absolute axes for racing game controllers Signed-off-by: Vicki Pfau --- drivers/hid/hid-debug.c | 16 +++++++++------- include/uapi/linux/input-event-codes.h | 3 +++ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c index f44e6e708404..7a1b56311e9b 100644 --- a/drivers/hid/hid-debug.c +++ b/drivers/hid/hid-debug.c @@ -3511,13 +3511,15 @@ static const char *absolutes[ABS_CNT] = { [ABS_RY] = "Ry", [ABS_RZ] = "Rz", [ABS_THROTTLE] = "Throttle", [ABS_RUDDER] = "Rudder", [ABS_WHEEL] = "Wheel", [ABS_GAS] = "Gas", - [ABS_BRAKE] = "Brake", [ABS_HAT0X] = "Hat0X", - [ABS_HAT0Y] = "Hat0Y", [ABS_HAT1X] = "Hat1X", - [ABS_HAT1Y] = "Hat1Y", [ABS_HAT2X] = "Hat2X", - [ABS_HAT2Y] = "Hat2Y", [ABS_HAT3X] = "Hat3X", - [ABS_HAT3Y] = "Hat 3Y", [ABS_PRESSURE] = "Pressure", - [ABS_DISTANCE] = "Distance", [ABS_TILT_X] = "XTilt", - [ABS_TILT_Y] = "YTilt", [ABS_TOOL_WIDTH] = "ToolWidth", + [ABS_BRAKE] = "Brake", [ABS_CLUTCH] = "Clutch", + [ABS_HANDBRAKE] = "Handbrake", [ABS_SHIFTER] = "Shifter", + [ABS_HAT0X] = "Hat0X", [ABS_HAT0Y] = "Hat0Y", + [ABS_HAT1X] = "Hat1X", [ABS_HAT1Y] = "Hat1Y", + [ABS_HAT2X] = "Hat2X", [ABS_HAT2Y] = "Hat2Y", + [ABS_HAT3X] = "Hat3X", [ABS_HAT3Y] = "Hat3Y", + [ABS_PRESSURE] = "Pressure", [ABS_DISTANCE] = "Distance", + [ABS_TILT_X] = "XTilt", [ABS_TILT_Y] = "YTilt", + [ABS_TOOL_WIDTH] = "ToolWidth", [ABS_VOLUME] = "Volume", [ABS_PROFILE] = "Profile", [ABS_SND_PROFILE] = "SoundProfile", [ABS_MISC] = "Misc", diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h index 3528168f7c6d..5c881ed44177 100644 --- a/include/uapi/linux/input-event-codes.h +++ b/include/uapi/linux/input-event-codes.h @@ -879,6 +879,9 @@ #define ABS_WHEEL 0x08 #define ABS_GAS 0x09 #define ABS_BRAKE 0x0a +#define ABS_CLUTCH 0x0b +#define ABS_HANDBRAKE 0x0c +#define ABS_SHIFTER 0x0d #define ABS_HAT0X 0x10 #define ABS_HAT0Y 0x11 #define ABS_HAT1X 0x12 -- 2.54.0