summaryrefslogtreecommitdiff
path: root/include/platforms/core_desktop.h
diff options
context:
space:
mode:
authorjussi2023-11-27 23:16:49 +0200
committerjussi2023-11-27 23:16:49 +0200
commit2b330bbadbeb35807b4831ab6275f6e2867029b5 (patch)
treeb32f979ef1dddaaf345e3ede94aefda067f60dbe /include/platforms/core_desktop.h
parentb3a956cff204f30edd36a426e471168e7c396801 (diff)
downloadreilua-enhanced-2b330bbadbeb35807b4831ab6275f6e2867029b5.tar.gz
reilua-enhanced-2b330bbadbeb35807b4831ab6275f6e2867029b5.tar.bz2
reilua-enhanced-2b330bbadbeb35807b4831ab6275f6e2867029b5.zip
Experimental pen tablet events.
Diffstat (limited to 'include/platforms/core_desktop.h')
-rw-r--r--include/platforms/core_desktop.h10
1 files changed, 7 insertions, 3 deletions
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
};