Synthesizes a low-level scrolling event on the local machine.
- macOS 10.0–10.6Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- Core Graphics
The number of scrolling devices, up to a maximum of 3.
A value that reflects the movement of the primary scrolling device on the mouse.
Up to two values that reflect the movements of the other scrolling devices on the mouse (if any).
A result code. See the result codes described in Quartz Display Services.
Scrolling movement is generally represented by small signed integer values, typically in a range from -10 to +10. Large values may have unexpected results, depending on the application that processes the event.
This function is not recommended for general use because of undocumented special cases and undesirable side effects. The recommended replacement for this function is
CGEvent, which allows you to create a scrolling event and customize the event before posting it to the event system.