mirror of
https://github.com/openharmony/third_party_libevdev.git
synced 2026-07-19 11:13:35 -04:00
UWB遥控南向接入,事件上报新增ABS_MT_MOVEFLAG字段,libevdev同步适配
Signed-off-by: Dragon51 <longchao14@h-partners.com>
This commit is contained in:
@@ -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 },
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user