mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-05 05:10:26 +01:00
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:
parent
cadefc1265
commit
f5d8552cc3
1 changed files with 12 additions and 12 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue