Constants that specify the unit of measurement for a scrolling event.
- macOS 10.5+
- Mac Catalyst 13.0+
- Core Graphics
You may pass one of these constants to the function
CGEvent to specify the unit of measurement for the event. The constant
k produces an event that most applications interpret as a smooth scrolling event. By default, the scale is about ten pixels per line. You can alter the scale with the function