From d94a638675c84d2b4a081c95feea1cd58df737f3 Mon Sep 17 00:00:00 2001 From: Dragon51 Date: Thu, 10 Apr 2025 10:37:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=89=8B=E5=86=99=E7=AC=94?= =?UTF-8?q?=E4=BE=A7=E6=97=8B=E8=A7=92=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dragon51 --- include/event-names.h | 4 ++-- include/linux/linux/input-event-codes.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/event-names.h b/include/event-names.h index fbfe326..25fbb78 100644 --- a/include/event-names.h +++ b/include/event-names.h @@ -60,7 +60,7 @@ static const char * const abs_map[ABS_MAX + 1] = { [ABS_DISTANCE] = "ABS_DISTANCE", [ABS_TILT_X] = "ABS_TILT_X", [ABS_TILT_Y] = "ABS_TILT_Y", - [ABS_MT_ANGLE] = "ABS_MT_ANGLE", + [ABS_MT_TWIST] = "ABS_MT_TWIST", [ABS_TOOL_WIDTH] = "ABS_TOOL_WIDTH", [ABS_VOLUME] = "ABS_VOLUME", [ABS_HAND_FEATURE] = "ABS_HAND_FEATURE", @@ -935,7 +935,7 @@ static const struct name_entry code_names[] = { { .name = "ABS_THROTTLE", .value = ABS_THROTTLE }, { .name = "ABS_TILT_X", .value = ABS_TILT_X }, { .name = "ABS_TILT_Y", .value = ABS_TILT_Y }, - { .name = "ABS_MT_ANGLE", .value = ABS_MT_ANGLE }, + { .name = "ABS_MT_TWIST", .value = ABS_MT_TWIST }, { .name = "ABS_TOOL_WIDTH", .value = ABS_TOOL_WIDTH }, { .name = "ABS_VOLUME", .value = ABS_VOLUME }, { .name = "ABS_WHEEL", .value = ABS_WHEEL }, diff --git a/include/linux/linux/input-event-codes.h b/include/linux/linux/input-event-codes.h index 430ec13..5a295ac 100644 --- a/include/linux/linux/input-event-codes.h +++ b/include/linux/linux/input-event-codes.h @@ -865,7 +865,7 @@ #define ABS_HAND_FEATURE 0x21 #define ABS_MISC 0x28 #define ABS_MT_MOVEFLAG 0x29 -#define ABS_MT_ANGLE 0x2c +#define ABS_MT_TWIST 0x2c /* * 0x2e is reserved and should not be used in input drivers. -- Gitee