-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.js.flow
42 lines (40 loc) · 1000 Bytes
/
index.js.flow
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
42
declare module 'nseventmonitor' {
declare export class NSEventMonitor {
start(eventMask: number, handler: () => void): void;
stop(): void;
}
declare export var NSEventMask: {
leftMouseDown: number;
leftMouseUp: number;
rightMouseDown: number;
rightMouseUp: number;
mouseMoved: number;
leftMouseDragged: number;
rightMouseDragged: number;
mouseEntered: number;
mouseExited: number;
keyDown: number;
keyUp: number;
flagsChanged: number;
appKitDefined: number;
applicationDefined: number;
periodic: number;
cursorUpdate: number;
scrollWheel: number;
tabletPoint: number;
tabletProximity: number;
otherMouseDown: number;
otherMouseUp: number;
otherMouseDragged: number;
gesture: number;
magnify: number;
swipe: number;
rotate: number;
beginGesture: number;
endGesture: number;
smartMagnify: number;
maskPressure: number;
directTouch: number;
any: number;
}
}