<>
indicates arguments which may be omitted, when using profile EMULATE_MOUSE
Begin USB communications.
Optionally, passing width
and height
here calls set_dimensions()
Sets the dimensions of the screen, in pixels, in mm, or any other system you find convenient.
Perform a single click at (x, y), or wherever the cursor is currently located.
Peform a right click at (x, y), or wherever the cursor is currently located.
Peform a double click at (x, y), or wherever the cursor is currently located.
Only with EMULATE_MOUSE
or EMULATE_HYBRID
Press the middle button (scroll wheel) at point (x,y), or wherever the cursor is currently located.
Press, at point (x, y), or wherever the cursor is currently located, for "duration" in milliseconds.
Place the cursor at point (x,y) if specified, then scroll by amount using the wheel. Postive values scroll down, negative values scroll up. The distance scrolled is consistent, but somewhat arbitrary. You will need to manually determine the correct value.
Perform a click and drag maneuver, with duration in ms. Minimum duration 100ms
Press and hold indefinitely at (x, y), or wherever the cursor is currently located.
Gradually move the cursor from point to point, with duration in ms. Minimum duration 100ms. Useful with hold
and release
.
Stop an indefinite press started by hold
.
Move the cursor to point (x,y). This low level command is not required for most operation, but may be helpful in certain situations.
Only with EMULATE_STYLUS
Force the cursor to briefly appear and dissapear. As EMULATE_STYLUS
tends not to display a visible cursor, this function is useful in the DevKit, for figuring out co-ordinate values.