mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
add device to touch events
This commit is contained in:
parent
ed126b0881
commit
c914697676
2 changed files with 8 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ struct wlr_touch {
|
|||
};
|
||||
|
||||
struct wlr_event_touch_down {
|
||||
struct wlr_input_device *device;
|
||||
uint32_t time_sec;
|
||||
uint64_t time_usec;
|
||||
int32_t slot;
|
||||
|
|
@ -27,12 +28,14 @@ struct wlr_event_touch_down {
|
|||
};
|
||||
|
||||
struct wlr_event_touch_up {
|
||||
struct wlr_input_device *device;
|
||||
uint32_t time_sec;
|
||||
uint64_t time_usec;
|
||||
int32_t slot;
|
||||
};
|
||||
|
||||
struct wlr_event_touch_motion {
|
||||
struct wlr_input_device *device;
|
||||
uint32_t time_sec;
|
||||
uint64_t time_usec;
|
||||
int32_t slot;
|
||||
|
|
@ -41,6 +44,7 @@ struct wlr_event_touch_motion {
|
|||
};
|
||||
|
||||
struct wlr_event_touch_cancel {
|
||||
struct wlr_input_device *device;
|
||||
uint32_t time_sec;
|
||||
uint64_t time_usec;
|
||||
int32_t slot;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue