mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
config: add configuration for tablet tool motion
This commit is contained in:
parent
8501a1281c
commit
a2f25bea1a
7 changed files with 41 additions and 7 deletions
|
|
@ -9,17 +9,12 @@ struct seat;
|
|||
struct wlr_device;
|
||||
struct wlr_input_device;
|
||||
|
||||
enum lab_tablet_motion_mode {
|
||||
LAB_TABLET_MOTION_ABSOLUTE = 0,
|
||||
LAB_TABLET_MOTION_RELATIVE,
|
||||
};
|
||||
|
||||
struct drawing_tablet {
|
||||
struct wlr_input_device *wlr_input_device;
|
||||
struct seat *seat;
|
||||
struct wlr_tablet *tablet;
|
||||
struct wlr_tablet_v2_tablet *tablet_v2;
|
||||
enum lab_tablet_motion_mode motion_mode;
|
||||
enum motion motion_mode;
|
||||
double x, y, dx, dy;
|
||||
double distance;
|
||||
double pressure;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue