|
|
|
@ -9,6 +9,8 @@
|
|
|
|
|
#ifndef WLR_TYPES_WLR_INPUT_DEVICE_H
|
|
|
|
|
#define WLR_TYPES_WLR_INPUT_DEVICE_H
|
|
|
|
|
|
|
|
|
|
#include <wayland-server-core.h>
|
|
|
|
|
|
|
|
|
|
enum wlr_button_state {
|
|
|
|
|
WLR_BUTTON_RELEASED,
|
|
|
|
|
WLR_BUTTON_PRESSED,
|
|
|
|
@ -23,14 +25,6 @@ enum wlr_input_device_type {
|
|
|
|
|
WLR_INPUT_DEVICE_SWITCH,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/* Note: these are circular dependencies */
|
|
|
|
|
#include <wlr/types/wlr_keyboard.h>
|
|
|
|
|
#include <wlr/types/wlr_pointer.h>
|
|
|
|
|
#include <wlr/types/wlr_touch.h>
|
|
|
|
|
#include <wlr/types/wlr_tablet_tool.h>
|
|
|
|
|
#include <wlr/types/wlr_tablet_pad.h>
|
|
|
|
|
#include <wlr/types/wlr_switch.h>
|
|
|
|
|
|
|
|
|
|
struct wlr_input_device_impl;
|
|
|
|
|
|
|
|
|
|
struct wlr_input_device {
|
|
|
|
|