From c613fed749cff8fee16ea3906a5f39d1fe8dc20e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 21 Jan 2025 19:51:25 +0100 Subject: m --- include/mgl/window/event.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include') diff --git a/include/mgl/window/event.h b/include/mgl/window/event.h index ab7ce35..0f0d94e 100644 --- a/include/mgl/window/event.h +++ b/include/mgl/window/event.h @@ -60,14 +60,14 @@ typedef struct { } mgl_monitor_disconnected_event; typedef enum { - MGL_MAPPING_NOTIFY_MODIFIER, - MGL_MAPPING_NOTIFY_KEYBOARD, - MGL_MAPPING_NOTIFY_POINTER -} mgl_mapping_notify_type; + MGL_MAPPING_CHANGED_MODIFIER, + MGL_MAPPING_CHANGED_KEYBOARD, + MGL_MAPPING_CHANGED_POINTER +} mgl_mapping_changed_type; typedef struct { - int notify_type; /* mgl_mapping_notify_type */ -} mgl_mapping_notify_event; + int type; /* mgl_mapping_changed_type */ +} mgl_mapping_changed_event; typedef enum { MGL_EVENT_UNKNOWN, @@ -85,7 +85,7 @@ typedef enum { MGL_EVENT_MONITOR_CONNECTED, MGL_EVENT_MONITOR_DISCONNECTED, MGL_EVENT_MONITOR_PROPERTY_CHANGED, - MGL_EVENT_MAPPING_NOTIFY + MGL_EVENT_MAPPING_CHANGED } mgl_event_type; struct mgl_event { @@ -100,7 +100,7 @@ struct mgl_event { mgl_monitor_connected_event monitor_connected; mgl_monitor_disconnected_event monitor_disconnected; mgl_monitor_property_changed_event monitor_property_changed; - mgl_mapping_notify_event mapping_notify; + mgl_mapping_changed_event mapping_changed; }; }; -- cgit v1.2.3