!37 add hand_feature

Merge pull request !37 from lcaidm/master
This commit is contained in:
openharmony_ci
2025-01-06 08:56:03 +00:00
committed by Gitee
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -62,6 +62,7 @@ static const char * const abs_map[ABS_MAX + 1] = {
[ABS_TILT_Y] = "ABS_TILT_Y",
[ABS_TOOL_WIDTH] = "ABS_TOOL_WIDTH",
[ABS_VOLUME] = "ABS_VOLUME",
[ABS_HAND_FEATURE] = "ABS_HAND_FEATURE",
[ABS_MISC] = "ABS_MISC",
[ABS_MT_MOVEFLAG] = "ABS_MT_MOVEFLAG",
[ABS_RESERVED] = "ABS_RESERVED",
@@ -894,6 +895,7 @@ static const struct name_entry ev_names[] = {
};
static const struct name_entry code_names[] = {
{ .name = "ABS_HAND_FEATURE", .value = ABS_HAND_FEATURE },
{ .name = "ABS_MT_MOVEFLAG", .value = ABS_MT_MOVEFLAG },
{ .name = "ABS_BRAKE", .value = ABS_BRAKE },
{ .name = "ABS_DISTANCE", .value = ABS_DISTANCE },
+1 -1
View File
@@ -862,7 +862,7 @@
#define ABS_TOOL_WIDTH 0x1c
#define ABS_VOLUME 0x20
#define ABS_HAND_FEATURE 0x21
#define ABS_MISC 0x28
#define ABS_MT_MOVEFLAG 0x29