tablet: move definition of tablet_axes down

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pingc@wacom.com>
This commit is contained in:
Peter Hutterer 2017-03-01 15:59:44 +10:00
parent cadefc1265
commit f5d8552cc3

View file

@ -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;