13
MOUSE_MOUSESYSTEMS = 1;
21
MOUSE_ORIENTATION_VERTICAL = 0;
22
MOUSE_ORIENTATION_HORIZONTAL = 1;
24
MOUSE_CHG_DTR = $80000000;
25
MOUSE_DTR_HIGH = $40000000;
26
MOUSE_CHG_RTS = $20000000;
27
MOUSE_RTS_HIGH = $10000000;
28
MOUSE_TYPE_MASK = $ffff;
30
MOUSE_MIDDLEBUTTON = 2;
31
MOUSE_RIGHTBUTTON = 1;
32
MOUSE_FOURTHBUTTON = 8;
33
MOUSE_FIFTHBUTTON = 16;
34
MOUSE_SIXTHBUTTON = 32;
35
MOUSE_RESETBUTTON = 64;
45
MOUSE_DEFAULTSAMPLERATE = 150;
47
function mouse_init(dev:pchar; thetype:longint; samplerate:longint):longint;cdecl;
48
function mouse_init_return_fd(dev:pchar; thetype:longint; samplerate:longint):longint;cdecl;
52
__mouse_handler = procedure (button:longint; dx:longint; dy:longint; dz:longint; drx:longint;
53
dry:longint; drz:longint);CDECL;
55
procedure mouse_seteventhandler(handler:__mouse_handler);cdecl;
57
procedure mouse_close;cdecl;
59
function mouse_update:longint;cdecl;
61
procedure mouse_waitforupdate;cdecl;
73
MOUSE_ROT_COORDS = 196;
74
MOUSE_ROT_INFINITESIMAL = 0;
75
MOUSE_ROT_RX_RY_RZ = 64;
79
procedure mouse_setdefaulteventhandler;cdecl;
80
procedure mouse_setposition(x:longint; y:longint);cdecl;
81
procedure mouse_setposition_6d(x:longint; y:longint; z:longint; rx:longint; ry:longint;
82
rz:longint; dim_mask:longint);cdecl;
83
procedure mouse_setxrange(x1:longint; x2:longint);cdecl;
84
procedure mouse_setyrange(y1:longint; y2:longint);cdecl;
85
procedure mouse_setrange_6d(x1:longint; x2:longint; y1:longint; y2:longint; z1:longint;
86
z2:longint; rx1:longint; rx2:longint; ry1:longint; ry2:longint;
87
rz1:longint; rz2:longint; dim_mask:longint);cdecl;
88
procedure mouse_setscale(s:longint);cdecl;
89
procedure mouse_setwrap(w:longint);cdecl;
90
function mouse_getx:longint;cdecl;
91
function mouse_gety:longint;cdecl;
92
procedure mouse_getposition_6d(x:plongint; y:plongint; z:plongint; rx:plongint; ry:plongint;
94
function mouse_getbutton:longint;cdecl;
99
function mouse_init(dev:pchar; thetype:longint; samplerate:longint):longint;CDECL; external;
100
function mouse_init_return_fd(dev:pchar; thetype:longint; samplerate:longint):longint;CDECL; external;
101
procedure mouse_seteventhandler(handler:__mouse_handler);CDECL; external;
102
procedure mouse_close;CDECL; external;
103
function mouse_update:longint;CDECL; external;
104
procedure mouse_waitforupdate;CDECL; external;
105
procedure mouse_setdefaulteventhandler;CDECL; external;
106
procedure mouse_setposition(x:longint; y:longint);CDECL; external;
107
procedure mouse_setposition_6d(x:longint; y:longint; z:longint; rx:longint; ry:longint;
108
rz:longint; dim_mask:longint);CDECL; external;
109
procedure mouse_setxrange(x1:longint; x2:longint);CDECL; external;
110
procedure mouse_setyrange(y1:longint; y2:longint);CDECL; external;
111
procedure mouse_setrange_6d(x1:longint; x2:longint; y1:longint; y2:longint; z1:longint;
112
z2:longint; rx1:longint; rx2:longint; ry1:longint; ry2:longint;
113
rz1:longint; rz2:longint; dim_mask:longint);CDECL; external;
114
procedure mouse_setscale(s:longint);CDECL; external;
115
procedure mouse_setwrap(w:longint);CDECL; external;
116
function mouse_getx:longint;CDECL; external;
117
function mouse_gety:longint;CDECL; external;
118
procedure mouse_getposition_6d(x:plongint; y:plongint; z:plongint; rx:plongint; ry:plongint;
119
rz:plongint);CDECL; external;
120
function mouse_getbutton:longint;CDECL; external;