-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.d.ts
41 lines (40 loc) · 1.15 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
declare module "nseventmonitor" {
export class NSEventMonitor {
start(eventMask: number, handler: Function): void;
stop(): void;
}
export namespace NSEventMask {
const leftMouseDown: number;
const leftMouseUp: number;
const rightMouseDown: number;
const rightMouseUp: number;
const mouseMoved: number;
const leftMouseDragged: number;
const rightMouseDragged: number;
const mouseEntered: number;
const mouseExited: number;
const keyDown: number;
const keyUp: number;
const flagsChanged: number;
const appKitDefined: number;
const applicationDefined: number;
const periodic: number;
const cursorUpdate: number;
const scrollWheel: number;
const tabletPoint: number;
const tabletProximity: number;
const otherMouseDown: number;
const otherMouseUp: number;
const otherMouseDragged: number;
const gesture: number;
const magnify: number;
const swipe: number;
const rotate: number;
const beginGesture: number;
const endGesture: number;
const smartMagnify: number;
const maskPressure: number;
const directTouch: number;
const any: number;
}
}