diff --git a/include/event-names.h b/include/event-names.h index a8797e4e9f380fbdfb8926e662113c0e1ad687a8..dffd148b22677a728017f146f704f6c83be136e2 100644 --- a/include/event-names.h +++ b/include/event-names.h @@ -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_RESERVED] = "ABS_RESERVED", [ABS_MT_SLOT] = "ABS_MT_SLOT", @@ -893,6 +894,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_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..69d862639f618420b17f6ef920a98762f6aa3727 100644 --- a/include/linux/linux/input-event-codes.h +++ b/include/linux/linux/input-event-codes.h @@ -862,7 +862,7 @@ #define ABS_TOOL_WIDTH 0x1c #define ABS_VOLUME 0x20 - +#define ABS_HAND_FEATURE 0x21 #define ABS_MISC 0x28 /*