mirror of
https://github.com/swaywm/sway.git
synced 2026-04-20 06:47:03 -04:00
input: Add support for tablet protocol.
Sway has basic support for drawing tablets, but does not expose properties such as pressure sensitivity. This implements the wlr tablet v2 protocol, providing tablet events to Wayland clients.
This commit is contained in:
parent
875edc9c2f
commit
7e420cb6e4
10 changed files with 646 additions and 48 deletions
|
|
@ -28,6 +28,8 @@ struct sway_seat_device {
|
|||
struct sway_input_device *input_device;
|
||||
struct sway_keyboard *keyboard;
|
||||
struct sway_switch *switch_device;
|
||||
struct sway_tablet *tablet;
|
||||
struct sway_tablet_pad *tablet_pad;
|
||||
struct wl_list link; // sway_seat::devices
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue