[KongchangAI]
Concept

NSEvent

An API class in macOS used to represent and dispatch user input events such as mouse, keyboard and touch events. It is a core component of the AppKit event-handling system.

Timeline (last 90 days)

Oct 28

Existing Mac apps are built on AppKit, whose event model is designed around NSEvent mouse events.

Unverified60%
Oct 12

macOS global shortcut monitoring relies on Core Graphics event listening API (CGEventTap) or the higher-level NSEvent global monitor, which can capture keyboard events when the application is not in the foreground

Unverified50%
Sep 9

On macOS, cursor position can be obtained via NSEvent's mouseLocation, idle time queried via IOKit's HIDIdleTime, and battery status read via the IOPowerSources API—all of which are local system calls.

Unverified50%

All Facts (3)

Source Articles