mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-15 06:59:43 -05:00
rootston: break up input.h
This commit is contained in:
parent
80b4a2f64c
commit
53021f8ed4
12 changed files with 93 additions and 52 deletions
20
include/rootston/tablet_tool.h
Normal file
20
include/rootston/tablet_tool.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef _ROOTSTON_TABLET_TOOL_H
|
||||
#define _ROOTSTON_TABLET_TOOL_H
|
||||
|
||||
#include <wayland-server.h>
|
||||
#include "rootston/input.h"
|
||||
|
||||
struct roots_tablet_tool {
|
||||
struct roots_input *input;
|
||||
struct wlr_input_device *device;
|
||||
struct wl_listener axis;
|
||||
struct wl_listener proximity;
|
||||
struct wl_listener tip;
|
||||
struct wl_listener button;
|
||||
struct wl_list link;
|
||||
};
|
||||
|
||||
void tablet_tool_add(struct wlr_input_device *device, struct roots_input *input);
|
||||
void tablet_tool_remove(struct wlr_input_device *device, struct roots_input *input);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue