mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-22 06:59:44 -05:00
Implement tablet_tool support in pointer example
This commit is contained in:
parent
4fbe322fa6
commit
30611894f2
2 changed files with 22 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ struct wlr_event_tablet_tool_proximity {
|
|||
struct wlr_input_device *device;
|
||||
uint32_t time_sec;
|
||||
uint64_t time_usec;
|
||||
double x, y;
|
||||
double x_mm, y_mm;
|
||||
double width_mm, height_mm;
|
||||
enum wlr_tablet_tool_proximity_state state;
|
||||
};
|
||||
|
|
@ -69,7 +69,7 @@ struct wlr_event_tablet_tool_tip {
|
|||
struct wlr_input_device *device;
|
||||
uint32_t time_sec;
|
||||
uint64_t time_usec;
|
||||
double x, y;
|
||||
double x_mm, y_mm;
|
||||
double width_mm, height_mm;
|
||||
enum wlr_tablet_tool_tip_state state;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue