mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-19 18:02:54 +00:00
updated Raw Mouse Input section in docs
This commit is contained in:
committed by
Ryan C. Gordon
parent
2536a22012
commit
c3e29282b3
@@ -253,12 +253,12 @@ Functionality may be added in the future to help this.
|
||||
|
||||
## Raw Mouse Input
|
||||
|
||||
On macOS 14.0 (Sonoma) and later, SDL uses the Game Controller framework's
|
||||
GCMouse API to provide raw, unaccelerated mouse input in relative mode. This
|
||||
is ideal for games and applications requiring precise 1:1 mouse movement.
|
||||
SDL uses the Game Controller framework's GCMouse API to provide raw,
|
||||
unaccelerated mouse input in relative mode. This is ideal for games
|
||||
and applications requiring precise 1:1 mouse movement.
|
||||
|
||||
On older macOS versions, SDL falls back to NSEvent-based mouse input, which
|
||||
includes system mouse acceleration.
|
||||
On versions older than macOS 11.0 (Big Sur), SDL would fall back to
|
||||
NSEvent-based mouse input, which includes system mouse acceleration.
|
||||
|
||||
To use accelerated (system-scaled) mouse movement on macOS 14.0+, set the hint:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user