diff --git a/include/event-names.h b/include/event-names.h index a8797e4e9f380fbdfb8926e662113c0e1ad687a8..d42fd7c172ff28933b531cc8174bb52664c48788 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", @@ -893,6 +894,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 1d921ff29926ff9fc71f8095cfb6582ff01f3455..5dc252948143bbe387de55102421962fc493b3f4 100644 --- a/include/linux/linux/input-event-codes.h +++ b/include/linux/linux/input-event-codes.h @@ -864,6 +864,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. diff --git a/patch/diff_libevdev_mmi/libevdev/libevdev_0000.diff b/patch/diff_libevdev_mmi/libevdev/libevdev_0000.diff index a481fc979f8babf7c5cd16c03428bf47bf7a1d41..18ada4c71eb4e189553acdcabde8375f82f153b5 100644 --- a/patch/diff_libevdev_mmi/libevdev/libevdev_0000.diff +++ b/patch/diff_libevdev_mmi/libevdev/libevdev_0000.diff @@ -14,7 +14,15 @@ limitations under the License. diff -Naur old/include/event-names.h new/include/event-names.h --- old/include/event-names.h 2024-01-01 00:00:00.000000000 +0000 +++ new/include/event-names.h 2024-01-01 00:00:00.000000000 +0000 -@@ -746,6 +746,7 @@ +@@ -63,6 +63,7 @@ + [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", +@@ -731,6 +732,7 @@ [SW_MUTE_DEVICE] = "SW_MUTE_DEVICE", [SW_PEN_INSERTED] = "SW_PEN_INSERTED", [SW_MACHINE_COVER] = "SW_MACHINE_COVER", @@ -22,10 +30,26 @@ diff -Naur old/include/event-names.h new/include/event-names.h }; static const char * const ff_map[FF_MAX + 1] = { +@@ -877,6 +879,7 @@ + }; + + 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 -Naur old/include/linux/linux/input-event-codes.h new/include/linux/linux/input-event-codes.h --- old/include/linux/linux/input-event-codes.h 2024-01-01 00:00:00.000000000 +0000 +++ new/include/linux/linux/input-event-codes.h 2024-01-01 00:00:00.000000000 +0000 -@@ -917,8 +917,9 @@ +@@ -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. +@@ -896,8 +897,9 @@ #define SW_MUTE_DEVICE 0x0e /* set = device disabled */ #define SW_PEN_INSERTED 0x0f /* set = pen inserted */ #define SW_MACHINE_COVER 0x10 /* set = cover closed */