Stay organized with collections
Save and categorize content based on your preferences.
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
uint32_t Paddleboat_Mouse_Data::buttonsDown
Bit-per-button bitfield array of mouse button status.
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.
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.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-07-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-07-12 UTC."],[],[],null,["# Paddleboat_Mouse_Data Struct Reference\n\nPaddleboat_Mouse_Data\n=====================\n\n`#include \u003cpaddleboat.h\u003e`\n\nA structure that contains input data for the mouse device.\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|\n| [buttonsDown](#struct_paddleboat___mouse___data_1ad3129857e08b31a038945b938f5d0c6d) | `uint32_t` Bit-per-button bitfield array of mouse button status. |\n| [mouseScrollDeltaH](#struct_paddleboat___mouse___data_1a3e5c36b47190d126beccb7987c56d678) | `int32_t` Number of horizontal mouse wheel movements since previous read of mouse data. |\n| [mouseScrollDeltaV](#struct_paddleboat___mouse___data_1a4f776c15f832999830ccf3ea2c5614fa) | `int32_t` Number of vertical mouse wheel movements since previous read of mouse data. |\n| [mouseX](#struct_paddleboat___mouse___data_1aab0b3cec12640c1429523040df406e9f) | `float` Current mouse X coordinates in window space pixels. |\n| [mouseY](#struct_paddleboat___mouse___data_1a7da5fd88c4e2231b97594af0bb77ef36) | `float` Current mouse Y coordinates in window space pixels. |\n| [timestamp](#struct_paddleboat___mouse___data_1a6d77f248ed2276a536b66417f72d41d3) | `uint64_t` Timestamp of most recent mouse data update, timestamp is microseconds elapsed since clock epoch. |\n\nPublic attributes\n-----------------\n\n### buttonsDown\n\n```scdoc\nuint32_t Paddleboat_Mouse_Data::buttonsDown\n``` \nBit-per-button bitfield array of mouse button status. \n\n### mouseScrollDeltaH\n\n```scdoc\nint32_t Paddleboat_Mouse_Data::mouseScrollDeltaH\n``` \nNumber of horizontal mouse wheel movements since previous read of mouse data.\n\nCan be positive or negative depending on direction of scrolling. \n\n### mouseScrollDeltaV\n\n```scdoc\nint32_t Paddleboat_Mouse_Data::mouseScrollDeltaV\n``` \nNumber of vertical mouse wheel movements since previous read of mouse data.\n\nCan be positive or negative depending on direction of scrolling. \n\n### mouseX\n\n```scdoc\nfloat Paddleboat_Mouse_Data::mouseX\n``` \nCurrent mouse X coordinates in window space pixels. \n\n### mouseY\n\n```scdoc\nfloat Paddleboat_Mouse_Data::mouseY\n``` \nCurrent mouse Y coordinates in window space pixels. \n\n### timestamp\n\n```scdoc\nuint64_t Paddleboat_Mouse_Data::timestamp\n``` \nTimestamp of most recent mouse data update, timestamp is microseconds elapsed since clock epoch."]]