Main Site Documentation

USBC_Mouse button clicks


#1

Hi,

I’m trying to send mouse button clicks using USBC_Mouse, for instance:

mouse.SendData(0, 0, 0, USBC_Mouse.Buttons.BUTTON_LEFT);

I find this doesn’t seem to send a click. Also, I don’t see how the API supports a mouse drag (i.e. button down, move, button up) but maybe I’m missing something?

Regards,

Alan

p.s. I’m using a Domino and the latest firmware.


#2

Have you tried the wiki?

http://wiki.tinyclr.com/index.php?title=USB_Client#Mouse.2C_the_Perfect_Prank