![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <mouse.h>
Data Fields | |
| uint16_t | buttons |
| The bitmap of current button values (eg MOUSE_LEFT_BUTTON or MOUSE_RIGHT_BUTTON). | |
| int16_t | offsetx |
| The X offset of the mouse pointer (May be negative, read as absolute if Buttons includes MOUSE_ABSOLUTE_X). | |
| int16_t | offsety |
| The Y offset of the mouse pointer (May be negative, read as absolute if Buttons includes MOUSE_ABSOLUTE_Y). | |
| int16_t | offsetwheel |
| The X offset of the mouse pointer (May be negative, read as absolute if Buttons includes MOUSE_ABSOLUTE_WHEEL). | |
| uint16_t | maximumx |
| The maximum X value of the mouse (Only applicable if Buttons includes MOUSE_ABSOLUTE_X, otherwise must be 0). | |
| uint16_t | maximumy |
| The maximum Y value of the mouse (Only applicable if Buttons includes MOUSE_ABSOLUTE_Y, otherwise must be 0). | |
| uint16_t | maximumwheel |
| The maximum Wheel value of the mouse (Only applicable if Buttons includes MOUSE_ABSOLUTE_WHEEL, otherwise must be 0). | |
| uint16_t | reserved |
| Reserved field (Round structure to 16 bytes). | |
| uint16_t buttons |
The bitmap of current button values (eg MOUSE_LEFT_BUTTON or MOUSE_RIGHT_BUTTON).
| int16_t offsetx |
The X offset of the mouse pointer (May be negative, read as absolute if Buttons includes MOUSE_ABSOLUTE_X).
| int16_t offsety |
The Y offset of the mouse pointer (May be negative, read as absolute if Buttons includes MOUSE_ABSOLUTE_Y).
| int16_t offsetwheel |
The X offset of the mouse pointer (May be negative, read as absolute if Buttons includes MOUSE_ABSOLUTE_WHEEL).
| uint16_t maximumx |
The maximum X value of the mouse (Only applicable if Buttons includes MOUSE_ABSOLUTE_X, otherwise must be 0).
| uint16_t maximumy |
The maximum Y value of the mouse (Only applicable if Buttons includes MOUSE_ABSOLUTE_Y, otherwise must be 0).
| uint16_t maximumwheel |
The maximum Wheel value of the mouse (Only applicable if Buttons includes MOUSE_ABSOLUTE_WHEEL, otherwise must be 0).
| uint16_t reserved |
Reserved field (Round structure to 16 bytes).