[PATCH libinput 04/13] tablet: move definition of tablet_axes down
Peter Hutterer
peter.hutterer at who-t.net
Thu Mar 9 11:06:48 UTC 2017
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
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 205dbf8..a1d5000 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;
--
2.9.3
More information about the wayland-devel
mailing list