![]() |
VX++ Framework (VxCpp.dll)
Friendly Voxon development with classes
|
Struct to manage mouse inputs. Mouse state is updated when VoxieBox::breath() is called.
More...
#include <vxDataTypes.h>
Public Attributes | |
| int | bstat |
| buttonstate for mouse buttons 0 = no buttons pressed, 1 = left mouse button pressed, 2 = right mouse button pressed, 3 = both left and right button pressed. More... | |
| int | obstat |
| the previous button state compare this value to the current bstat to do your own 'On Down' or 'On Up' calls or use VoxieBox::getMouseClickOnDown & VoxieBox::getMouseClickOnUp | |
| int | dmousx |
| delta X movement from mouse | |
| int | dmousy |
| delta Y movement from mouse | |
| int | dmousz |
| delta Z movement from mouse (scroll wheel) | |
Struct to manage mouse inputs. Mouse state is updated when VoxieBox::breath() is called.
mouse and keyboard input are managed by VoxieBox class there are many function calls which can be used to interact with the mouse (and keyboard)
| int voxie_input_t::bstat |
buttonstate for mouse buttons 0 = no buttons pressed, 1 = left mouse button pressed, 2 = right mouse button pressed, 3 = both left and right button pressed.