input: rename drawing_tablet to tablet

This commit is contained in:
Jens Peters 2023-12-29 10:10:41 +01:00
parent 4571a81d2e
commit 06df27490d
No known key found for this signature in database
4 changed files with 9 additions and 9 deletions

View file

@ -1,25 +0,0 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LABWC_DRAWING_TABLET_H
#define LABWC_DRAWING_TABLET_H
#include <wayland-server-core.h>
struct seat;
struct wlr_device;
struct wlr_input_device;
struct drawing_tablet {
struct seat *seat;
struct wlr_tablet *tablet;
double x, y;
struct {
struct wl_listener axis;
struct wl_listener tip;
struct wl_listener button;
struct wl_listener destroy;
// no interest in proximity events
} handlers;
};
void drawing_tablet_setup_handlers(struct seat *seat, struct wlr_input_device *wlr_input_device);
#endif /* LABWC_DRAWING_TABLET_H */