mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-22 06:47:12 -04:00
Merge branch 'cursor-devices' into 'master'
Draft: cursor: expose input devices Closes #3398 See merge request wlroots/wlroots!3577
This commit is contained in:
commit
019c601d00
3 changed files with 21 additions and 23 deletions
|
|
@ -12,6 +12,7 @@
|
|||
#include <wayland-server-core.h>
|
||||
#include <wlr/types/wlr_output_layout.h>
|
||||
#include <wlr/types/wlr_output.h>
|
||||
#include <wlr/types/wlr_touch.h>
|
||||
|
||||
struct wlr_input_device;
|
||||
|
||||
|
|
@ -33,6 +34,8 @@ struct wlr_cursor {
|
|||
struct wlr_cursor_state *state;
|
||||
double x, y;
|
||||
|
||||
struct wlr_touch touch;
|
||||
|
||||
/**
|
||||
* The interpretation of these signals is the responsibility of the
|
||||
* compositor, but some helpers are provided for your benefit. If you
|
||||
|
|
@ -62,12 +65,6 @@ struct wlr_cursor {
|
|||
struct wl_signal hold_begin;
|
||||
struct wl_signal hold_end;
|
||||
|
||||
struct wl_signal touch_up;
|
||||
struct wl_signal touch_down;
|
||||
struct wl_signal touch_motion;
|
||||
struct wl_signal touch_cancel;
|
||||
struct wl_signal touch_frame;
|
||||
|
||||
struct wl_signal tablet_tool_axis;
|
||||
struct wl_signal tablet_tool_proximity;
|
||||
struct wl_signal tablet_tool_tip;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue