summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-03-01 15:59:44 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-03-23 10:18:09 +1000
commitf5d8552cc3b93c890ac97aa454e890c1b1fdaa0a (patch)
tree89863ec51ad57c8cda117f3aedd4c09fc01b2bd4
parentcadefc12659ada0120a497c244c70993f8d5779a (diff)
tablet: move definition of tablet_axes down
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Ping Cheng <pingc@wacom.com>
-rw-r--r--src/libinput-private.h24
1 files 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;