mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-06 11:28:39 +02:00
core: Move libinput_event definition to libinput-private.h
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
ad2acca72d
commit
50107eca3f
2 changed files with 5 additions and 5 deletions
|
|
@ -151,6 +151,11 @@ struct libinput_device {
|
||||||
struct libinput_device_config config;
|
struct libinput_device_config config;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct libinput_event {
|
||||||
|
enum libinput_event_type type;
|
||||||
|
struct libinput_device *device;
|
||||||
|
};
|
||||||
|
|
||||||
struct libinput_event_listener {
|
struct libinput_event_listener {
|
||||||
struct list link;
|
struct list link;
|
||||||
void (*notify_func)(uint64_t time, struct libinput_event *ev, void *notify_func_data);
|
void (*notify_func)(uint64_t time, struct libinput_event *ev, void *notify_func_data);
|
||||||
|
|
|
||||||
|
|
@ -42,11 +42,6 @@ struct libinput_source {
|
||||||
struct list link;
|
struct list link;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct libinput_event {
|
|
||||||
enum libinput_event_type type;
|
|
||||||
struct libinput_device *device;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct libinput_event_device_notify {
|
struct libinput_event_device_notify {
|
||||||
struct libinput_event base;
|
struct libinput_event base;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue