Add RawMouseMotionSupported

This commit is contained in:
Jeroen van Rijn
2022-10-21 19:20:15 +02:00
parent d5047e621d
commit 648e3c65ea
2 changed files with 4 additions and 0 deletions

View File

@@ -110,6 +110,7 @@ foreign glfw {
WaitEventsTimeout :: proc(timeout: f64) ---
PostEmptyEvent :: proc() ---
RawMouseMotionSupported :: proc() -> b32 ---
GetInputMode :: proc(window: WindowHandle, mode: c.int) -> c.int ---
SetInputMode :: proc(window: WindowHandle, mode, value: c.int) ---

View File

@@ -339,6 +339,9 @@ CURSOR_NORMAL :: 0x00034001
CURSOR_HIDDEN :: 0x00034002
CURSOR_DISABLED :: 0x00034003
/* Mouse motion */
RAW_MOUSE_MOTION :: 0x00033005
/* Behavior? */
ANY_RELEASE_BEHAVIOR :: 0
RELEASE_BEHAVIOR_FLUSH :: 0x00035001