-
Notifications
You must be signed in to change notification settings - Fork 1.2k
CursorState::Grab does not report mouse delta on macOS #165
Copy link
Copy link
Closed
Labels
D - averageLikely as difficult as most tasks hereLikely as difficult as most tasks hereDS - appkitAffects the AppKit/macOS backendAffects the AppKit/macOS backendH - help wantedSomeone please save usSomeone please save usP - normalGreat to haveGreat to haveS - platform parityUnintended platform differencesUnintended platform differences
Description
You still get MouseMoved events with the absolute position of the mouse, but it does not change. As a result, it's kind of useless. According to macOS documentation, you should instead check for deltaX and deltaY on the NSEvent.
As far as I can tell, winit doesn't currently report the mouse cursor delta in any events. I think it makes sense to add the mouse delta to the MouseMoved event. Any thoughts?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
D - averageLikely as difficult as most tasks hereLikely as difficult as most tasks hereDS - appkitAffects the AppKit/macOS backendAffects the AppKit/macOS backendH - help wantedSomeone please save usSomeone please save usP - normalGreat to haveGreat to haveS - platform parityUnintended platform differencesUnintended platform differences