!40 多模支持上报手写笔侧旋角度值

Merge pull request !40 from Dragon51/master
This commit is contained in:
openharmony_ci
2025-03-21 03:13:41 +00:00
committed by Gitee
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -60,6 +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_TOOL_WIDTH] = "ABS_TOOL_WIDTH",
[ABS_VOLUME] = "ABS_VOLUME",
[ABS_HAND_FEATURE] = "ABS_HAND_FEATURE",
@@ -934,6 +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_TOOL_WIDTH", .value = ABS_TOOL_WIDTH },
{ .name = "ABS_VOLUME", .value = ABS_VOLUME },
{ .name = "ABS_WHEEL", .value = ABS_WHEEL },
+1
View File
@@ -865,6 +865,7 @@
#define ABS_HAND_FEATURE 0x21
#define ABS_MISC 0x28
#define ABS_MT_MOVEFLAG 0x29
#define ABS_MT_ANGLE 0x2c
/*
* 0x2e is reserved and should not be used in input drivers.