PlatformEvent struct

Public variables

PlatformEventType Type
PlatformWindowID Window
float X
float Y
window-local, logical pixels
float PX
float PY
window-local, physical pixels
float DX
float DY
int32_t Width
int32_t Height
float Scale
UI scale: physical pixels per UI unit (DisplayScale x user UI scale).
float DisplayScale
the OS scale of the window's monitor (1.0 = 96 DPI-equivalent)
float PixelDensity
physical pixels per logical pixel (window coordinate)
uint32_t Scancode
uint32_t Keycode
uint16_t Mods
uint8_t Button
uint8_t Clicks
PlatformGamepadFamily Family
GamepadButton: the pad's.
bool bDown
bool bRepeat
std::string Text
int32_t TextCursor
int32_t TextLength
uint32_t Tag
echoes the tag of the request this event answers