Implement tablet_tool support in pointer example

This commit is contained in:
Drew DeVault 2017-08-28 22:12:35 -04:00
parent 4fbe322fa6
commit 30611894f2
2 changed files with 22 additions and 2 deletions

View file

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