UWB遥控南向接入,事件上报新增ABS_MT_MOVEFLAG字段,libevdev同步适配

Signed-off-by: Dragon51 <longchao14@h-partners.com>
This commit is contained in:
Dragon51
2024-08-01 14:53:11 +08:00
parent 7174e33ed1
commit 602b4fd1dc
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -63,6 +63,7 @@ static const char * const abs_map[ABS_MAX + 1] = {
[ABS_TOOL_WIDTH] = "ABS_TOOL_WIDTH",
[ABS_VOLUME] = "ABS_VOLUME",
[ABS_MISC] = "ABS_MISC",
[ABS_MT_MOVEFLAG] = "ABS_MT_MOVEFLAG",
[ABS_RESERVED] = "ABS_RESERVED",
[ABS_MT_SLOT] = "ABS_MT_SLOT",
[ABS_MT_TOUCH_MAJOR] = "ABS_MT_TOUCH_MAJOR",
@@ -878,6 +879,7 @@ static const struct name_entry ev_names[] = {
};
static const struct name_entry code_names[] = {
{ .name = "ABS_MT_MOVEFLAG", .value = ABS_MT_MOVEFLAG },
{ .name = "ABS_BRAKE", .value = ABS_BRAKE },
{ .name = "ABS_DISTANCE", .value = ABS_DISTANCE },
{ .name = "ABS_GAS", .value = ABS_GAS },
+1
View File
@@ -843,6 +843,7 @@
#define ABS_VOLUME 0x20
#define ABS_MISC 0x28
#define ABS_MT_MOVEFLAG 0x29
/*
* 0x2e is reserved and should not be used in input drivers.