Download U - Atari Documentation Archive

Transcript
_______________________evnt—dclick______________________
Set Double-Click Speed
evnt_dclick()
Opcode=26
Reads the current setting of the double-click interval (the amount of time
which a mouse button event will wait for multiple clicks) or changes that
setting.
C binding
int speed—set, speed, flag;
speed set = evnt_dclick(speed, flag);
Inputs
control[0]
controlfl]
control[2]
control[3]
control[4]
=
=
=
=
=
speed
int_in[0] =
flag
int_in[l] =
Results
speed_set
int_out[0] =
26
2
1
0
0
See also
evnt_mouse(), evnt_multi()
242
Opcode
Number of 16-bit inputs in int_Jn array
Number of 16-bit results in int_out array
Number of 32-bit inputs in addr_in array
Number of 32-bit results in addr_out
array
The new double-click speed. A number in
the range 0-4, where 0 is the slowest
speed and 4 the fastest speed.
A code which specifies whether you wish
to read the current setting or to change it:
0 = set a new speed
1 = read the current speed
The existing or new double-click setting
n
n
n
n
n