Casio IT-2000D PDAs & Smartphones User Manual


 
104
Set Cursor Position
Places the cursor at the specified position
Input:
AX = 4
CX = X coordinate of the cursor position
DX = Y coordinate of the cursor position
Output:
None
Read Pushed
Counter and
Position
Reads the number of times the specified mouse button is pressed, the cursor
position when the specified button was last pressed, and the current button
status. If this function is called, the number of times pressed is initialized to
0.
Input:
AX = 5
BX = Specified button
0 Left button
1 Right button
Output:
AX = Current button status
b0=1 The left button is pressed.
b1=1 The right button is pressed.
BX = Number of times the specified button is pressed
CX = X coordinate of cursor when the specified button was last
pressed.
DX = Y coordinate of cursor when the specified button was last
pressed.
Read Popped
Counter and
Position
Reads the number of times the specified mouse button is released (popped),
the cursor position when the specified button was last released, and the
current button status. If this function is called, the number of times released
is initialized to 0.
Input:
AX = 6
BX = Specified button
0 Left button
1 Right button
Output:
AX = Current button status
b0=1 The left button is pressed.
b1=1 The right button is pressed.
BX = Number of times the specified button is released
CX = X coordinate of cursor when the specified button was last
released.
DX = Y coordinate of cursor when the specified button was last
released.