From 2b330bbadbeb35807b4831ab6275f6e2867029b5 Mon Sep 17 00:00:00 2001 From: jussi Date: Mon, 27 Nov 2023 23:16:49 +0200 Subject: Experimental pen tablet events. --- include/platforms/core_desktop.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'include/platforms') diff --git a/include/platforms/core_desktop.h b/include/platforms/core_desktop.h index 2dc64e0..8782819 100644 --- a/include/platforms/core_desktop.h +++ b/include/platforms/core_desktop.h @@ -1,7 +1,7 @@ #pragma once -#include "glfw3.h" -#include "glfw3native.h" +#include "GLFW/glfw3.h" +#include "GLFW/glfw3native.h" enum EventType { GLFW_WINDOW_SIZE_EVENT, @@ -15,5 +15,9 @@ enum EventType { GLFW_MOUSE_CURSOR_POS_EVENT, GLFW_MOUSE_SCROLL_EVENT, GLFW_CURSOR_ENTER_EVENT, - GLFW_JOYSTICK_EVENT + GLFW_JOYSTICK_EVENT, + /* NOTE! Experimental. Needs glfw PR https://github.com/glfw/glfw/pull/1445 */ + GLFW_PEN_TABLET_DATA_EVENT, + GLFW_PEN_TABLET_CURSOR_EVENT, + GLFW_PEN_TABLET_PROXIMITY_EVENT }; -- cgit v1.2.3