优化手写笔侧旋角命名

Signed-off-by: Dragon51 <longchao17@h-partners.com>
This commit is contained in:
Dragon51
2025-04-10 10:37:55 +08:00
parent 118e42658b
commit 49403c468a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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 },
+1 -1
View File
@@ -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.