diff options
| author | Drew DeVault <sir@cmpwn.com> | 2018-03-07 20:57:55 -0500 | 
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2018-03-07 20:57:55 -0500 | 
| commit | bfc0e95d2cfeab96d771cb34e78ca92afee4464c (patch) | |
| tree | a5f5d132cba797f8f169781a482e9e995df14332 /include/wlr | |
| parent | 36dcad13d09d63bd321958ed79d479687479f852 (diff) | |
| download | wlroots-bfc0e95d2cfeab96d771cb34e78ca92afee4464c.tar.xz | |
Add mode support to libinput backend
And extend tablet example with tilt and ring support
Diffstat (limited to 'include/wlr')
| -rw-r--r-- | include/wlr/types/wlr_tablet_pad.h | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_tablet_pad.h b/include/wlr/types/wlr_tablet_pad.h index e70db516..73082c56 100644 --- a/include/wlr/types/wlr_tablet_pad.h +++ b/include/wlr/types/wlr_tablet_pad.h @@ -29,6 +29,7 @@ struct wlr_event_tablet_pad_button {  	uint32_t time_msec;  	uint32_t button;  	enum wlr_button_state state; +	unsigned int mode;  };  enum wlr_tablet_pad_ring_source { @@ -41,6 +42,7 @@ struct wlr_event_tablet_pad_ring {  	enum wlr_tablet_pad_ring_source source;  	uint32_t ring;  	double position; +	unsigned int mode;  };  enum wlr_tablet_pad_strip_source { @@ -53,6 +55,7 @@ struct wlr_event_tablet_pad_strip {  	enum wlr_tablet_pad_strip_source source;  	uint32_t strip;  	double position; +	unsigned int mode;  };  #endif  | 
