mouse

USB Mouse, x and y position are wrapping outputs, refer to the help patch to see how it can be unwrapped.
Author: Johannes Taelman
License: BSD
Github: usb/mouse.axo

Inlets

None

Outlets

int32 x position

int32 y position

bool32 left mouse button

bool32 right mouse button

bool32 middle mouse button

Control Rate
outlet_left = hid_buttons[0];
outlet_right = hid_buttons[1];
outlet_middle = hid_buttons[2];
outlet_x = hid_mouse_x;
outlet_y = hid_mouse_y;

Privacy

© 2024 Zrna Research