Paddleboat_Mouse_Data
#include <paddleboat.h>
A structure that contains input data for the mouse device.
Summary
Public attributes |
|
---|---|
buttonsDown
|
uint32_t
Bit-per-button bitfield array of mouse button status.
|
mouseScrollDeltaH
|
int32_t
Number of horizontal mouse wheel movements since previous read of mouse data.
|
mouseScrollDeltaV
|
int32_t
Number of vertical mouse wheel movements since previous read of mouse data.
|
mouseX
|
float
Current mouse X coordinates in window space pixels.
|
mouseY
|
float
Current mouse Y coordinates in window space pixels.
|
timestamp
|
uint64_t
Timestamp of most recent mouse data update, timestamp is microseconds elapsed since clock epoch.
|
Public attributes
buttonsDown
uint32_t Paddleboat_Mouse_Data::buttonsDown
Bit-per-button bitfield array of mouse button status.
mouseScrollDeltaH
int32_t Paddleboat_Mouse_Data::mouseScrollDeltaH
Number of horizontal mouse wheel movements since previous read of mouse data.
Can be positive or negative depending on direction of scrolling.
mouseScrollDeltaV
int32_t Paddleboat_Mouse_Data::mouseScrollDeltaV
Number of vertical mouse wheel movements since previous read of mouse data.
Can be positive or negative depending on direction of scrolling.
mouseX
float Paddleboat_Mouse_Data::mouseX
Current mouse X coordinates in window space pixels.
mouseY
float Paddleboat_Mouse_Data::mouseY
Current mouse Y coordinates in window space pixels.
timestamp
uint64_t Paddleboat_Mouse_Data::timestamp
Timestamp of most recent mouse data update, timestamp is microseconds elapsed since clock epoch.