Skip to content

Commit f1140af

Browse files
Merge pull request #441 from Hedgehogsoft/main
expand upon and review rawMouse mode vs captureMouse (RGFW) and fix cursor pos on raw mouse
2 parents 0087f21 + 39a60eb commit f1140af

File tree

2 files changed

+289
-216
lines changed

2 files changed

+289
-216
lines changed

CHANGELOG

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ In this PR I am redefining how RGFW handles versioning. Breaking changes are goi
1212
-----------------------------------------------
1313
- add RGFW_glForwardCompatibility
1414
- fix documentation typos
15-
- add RGFW_windowRawMouse and rawMouseMode (rawMouseMode will replace holdMouse/unholdMouse in 2.0)
15+
- add `RGFW_window_rawMouseMode` to enable raw mouse mode (without capturing the mouse)
16+
- add `RGFW_setRawMouseMode` to enable raw mouse mode across all windows
17+
- add `RGFW_windowCaptureMouse` and function `RGFW_window_captureMouse` to capture the mouse (without raw mouse mode)
18+
- add `RGFW_window_captureRawMouse` and flag `RGFW_windowCaptureRawMouse` for capturing the mouse and enabling raw mouse mode (RGFW_window_captureRawMouse will replace holdMouse/unholdMouse in 2.0)
1619
- fix mouse hold/unhold on focus/unfocus
1720
- cleanup hacky X11 raw mouse input
1821
- support window resizing in the Vulkan Example
@@ -35,6 +38,8 @@ In this PR I am redefining how RGFW handles versioning. Breaking changes are goi
3538
- add new example `examples/flash/flash` to demonstrate `RGFW_window_flash`
3639
- standardize vsync being disabled by default (OpenGL)
3740
- add 'RGFW_window_getSizeInPixels'
41+
- do not center cursor when the cursor is captured anymore
42+
- make sure mouse events during raw mouse mode still return the correct relative cursor value
3843

3944
Release: RGFW 1.8.0
4045
-----------------------------------------------

0 commit comments

Comments
 (0)