Version:
interface
InputMonitor
An InputMonitor provides methods to observe system-level input events
such as keyboard and mouse activity
typescript
interface InputMonitorProperties
| Name | Type | Description |
|---|---|---|
connectEmitter | (emitFn: (eventType: E, args: Parameters<unknown[unknown]>) => ReturnType) => void | Connects an event emitter function to forward captured input events |
startMonitoringInput | () => void | Starts monitoring system input events |
stopMonitoringInput | () => void | Stops monitoring system input events |
Was this page helpful?