Skip to content

fplMouseState Struct Reference

Finalspace edited this page May 29, 2026 · 1 revision

A struct containing the full mouse state. More...

#include <final_platform_layer.h>

Data Fields

Type Name
fplButtonState buttonStates [fplMouseButtonType_MaxCount]
Mouse button states mapped to fplMouseButtonType.
float wheelDeltaX
Accumulated horizontal wheel delta since last poll.
float wheelDeltaY
Accumulated vertical wheel delta since last poll.
int32_t x
X-Position in pixels.
int32_t y
Y-Position in pixels.

Detailed Description

A struct containing the full mouse state.

Definition at line 9141 of file final_platform_layer.h.

Field Documentation

buttonStates

fplButtonState fplMouseState::buttonStates[fplMouseButtonType_MaxCount]

Mouse button states mapped to fplMouseButtonType.

Definition at line 9143 of file final_platform_layer.h.

wheelDeltaX

float fplMouseState::wheelDeltaX

Accumulated horizontal wheel delta since last poll.

Definition at line 9151 of file final_platform_layer.h.

wheelDeltaY

float fplMouseState::wheelDeltaY

Accumulated vertical wheel delta since last poll.

Definition at line 9149 of file final_platform_layer.h.

x

int32_t fplMouseState::x

X-Position in pixels.

Definition at line 9145 of file final_platform_layer.h.

y

int32_t fplMouseState::y

Y-Position in pixels.

Definition at line 9147 of file final_platform_layer.h.


The documentation for this struct was generated from the following file:

Final Platform Layer

Pages

Topics

Data Structures

Clone this wiki locally