From d3b286f0ac9d68ba8ef0e088dc8a85e28407653a Mon Sep 17 00:00:00 2001 From: Dragon51 Date: Thu, 1 Aug 2024 14:53:11 +0800 Subject: [PATCH] =?UTF-8?q?UWB=E9=81=A5=E6=8E=A7=E5=8D=97=E5=90=91?= =?UTF-8?q?=E6=8E=A5=E5=85=A5,=E4=BA=8B=E4=BB=B6=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=E6=96=B0=E5=A2=9EABS=5FMT=5FMOVEFLAG=E5=AD=97=E6=AE=B5,libevde?= =?UTF-8?q?v=E5=90=8C=E6=AD=A5=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dragon51 --- include/event-names.h | 2 ++ include/linux/linux/input-event-codes.h | 1 + 2 files changed, 3 insertions(+) diff --git a/include/event-names.h b/include/event-names.h index cc6f444..b285ee4 100644 --- a/include/event-names.h +++ b/include/event-names.h @@ -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 }, diff --git a/include/linux/linux/input-event-codes.h b/include/linux/linux/input-event-codes.h index 5a11fb3..81ce141 100644 --- a/include/linux/linux/input-event-codes.h +++ b/include/linux/linux/input-event-codes.h @@ -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. -- Gitee