Experimental pen tablet events.

This commit is contained in:
jussi
2023-11-27 23:16:49 +02:00
parent b3a956cff2
commit 2b330bbadb
8 changed files with 717 additions and 74 deletions

View File

@@ -31,6 +31,10 @@ typedef struct {
GLFWscrollfun raylibMouseScrollCallback;
GLFWcursorenterfun raylibCursorEnterCallback;
GLFWjoystickfun raylibJoystickCallback;
/* NOTE! Experimental. Needs glfw PR https://github.com/glfw/glfw/pull/1445 */
GLFWpentabletdatafun glfwtabletDataCallback;
GLFWpentabletcursorfun glfwtabletCursorCallback;
GLFWpentabletproximityfun glfwtabletProximityCallback;
#elif PLATFORM_DESKTOP_SDL
int SDL_eventQueueLen;
SDL_Event *SDL_eventQueue;