diff --git a/include/event-names.h b/include/event-names.h index fbfe3267196953c17177b58dcd358eca01f5fd2e..25fbb787721a2ead0c34e72ae91d1778b97a6767 100644 --- a/include/event-names.h +++ b/include/event-names.h @@ -60,7 +60,7 @@ static const char * const abs_map[ABS_MAX + 1] = { [ABS_DISTANCE] = "ABS_DISTANCE", [ABS_TILT_X] = "ABS_TILT_X", [ABS_TILT_Y] = "ABS_TILT_Y", - [ABS_MT_ANGLE] = "ABS_MT_ANGLE", + [ABS_MT_TWIST] = "ABS_MT_TWIST", [ABS_TOOL_WIDTH] = "ABS_TOOL_WIDTH", [ABS_VOLUME] = "ABS_VOLUME", [ABS_HAND_FEATURE] = "ABS_HAND_FEATURE", @@ -935,7 +935,7 @@ static const struct name_entry code_names[] = { { .name = "ABS_THROTTLE", .value = ABS_THROTTLE }, { .name = "ABS_TILT_X", .value = ABS_TILT_X }, { .name = "ABS_TILT_Y", .value = ABS_TILT_Y }, - { .name = "ABS_MT_ANGLE", .value = ABS_MT_ANGLE }, + { .name = "ABS_MT_TWIST", .value = ABS_MT_TWIST }, { .name = "ABS_TOOL_WIDTH", .value = ABS_TOOL_WIDTH }, { .name = "ABS_VOLUME", .value = ABS_VOLUME }, { .name = "ABS_WHEEL", .value = ABS_WHEEL }, diff --git a/include/linux/linux/input-event-codes.h b/include/linux/linux/input-event-codes.h index 430ec133dfcc9093f0e1aee5159c7cca60f244eb..5a295ac31753e6433ca09eab313cbfbdde525e97 100644 --- a/include/linux/linux/input-event-codes.h +++ b/include/linux/linux/input-event-codes.h @@ -865,7 +865,7 @@ #define ABS_HAND_FEATURE 0x21 #define ABS_MISC 0x28 #define ABS_MT_MOVEFLAG 0x29 -#define ABS_MT_ANGLE 0x2c +#define ABS_MT_TWIST 0x2c /* * 0x2e is reserved and should not be used in input drivers.