From f5d8552cc3b93c890ac97aa454e890c1b1fdaa0a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 1 Mar 2017 15:59:44 +1000 Subject: [PATCH] tablet: move definition of tablet_axes down Signed-off-by: Peter Hutterer Acked-by: Ping Cheng --- src/libinput-private.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/libinput-private.h b/src/libinput-private.h index 205dbf89..a1d50002 100644 --- a/src/libinput-private.h +++ b/src/libinput-private.h @@ -99,18 +99,6 @@ struct wheel_tilt_flags { bool vertical, horizontal; }; -struct tablet_axes { - struct device_coords point; - struct normalized_coords delta; - double distance; - double pressure; - struct tilt_degrees tilt; - double rotation; - double slider; - double wheel; - int wheel_discrete; -}; - struct libinput_interface_backend { int (*resume)(struct libinput *libinput); void (*suspend)(struct libinput *libinput); @@ -335,6 +323,18 @@ enum libinput_tablet_tool_axis { #define LIBINPUT_TABLET_TOOL_AXIS_MAX LIBINPUT_TABLET_TOOL_AXIS_REL_WHEEL +struct tablet_axes { + struct device_coords point; + struct normalized_coords delta; + double distance; + double pressure; + struct tilt_degrees tilt; + double rotation; + double slider; + double wheel; + int wheel_discrete; +}; + struct libinput_tablet_tool { struct list link; uint32_t serial;