/* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef LABWC_DRAWING_TABLET_H
-#define LABWC_DRAWING_TABLET_H
+#ifndef LABWC_TABLET_H
+#define LABWC_TABLET_H
#include <wayland-server-core.h>
struct seat;
} handlers;
};
-void drawing_tablet_setup_handlers(struct seat *seat, struct wlr_input_device *wlr_input_device);
+void tablet_setup_handlers(struct seat *seat, struct wlr_input_device *wlr_input_device);
-#endif /* LABWC_DRAWING_TABLET_H */
+#endif /* LABWC_TABLET_H */
labwc_sources += files(
'cursor.c',
- 'drawing_tablet.c',
+ 'tablet.c',
'gestures.c',
'input.c',
'keyboard.c',
#include "common/mem.h"
#include "config/rcxml.h"
#include "input/cursor.h"
-#include "input/drawing_tablet.h"
+#include "input/tablet.h"
static void
handle_axis(struct wl_listener *listener, void *data)
}
void
-drawing_tablet_setup_handlers(struct seat *seat, struct wlr_input_device *device)
+tablet_setup_handlers(struct seat *seat, struct wlr_input_device *device)
{
switch (device->type) {
case WLR_INPUT_DEVICE_TABLET_PAD:
#include <wlr/types/wlr_touch.h>
#include <wlr/util/log.h>
#include "common/mem.h"
-#include "input/drawing_tablet.h"
+#include "input/tablet.h"
#include "input/input.h"
#include "input/keyboard.h"
#include "input/key-state.h"
{
struct input *input = znew(*input);
input->wlr_input_device = dev;
- drawing_tablet_setup_handlers(seat, dev);
+ tablet_setup_handlers(seat, dev);
return input;
}