Struct sdl2_sys::SDL_DollarGestureEvent [−][src]
#[repr(C)]pub struct SDL_DollarGestureEvent {
pub type_: Uint32,
pub timestamp: Uint32,
pub touchId: SDL_TouchID,
pub gestureId: SDL_GestureID,
pub numFingers: Uint32,
pub error: f32,
pub x: f32,
pub y: f32,
}
Expand description
\brief Dollar Gesture Event (event.dgesture.*)
Fields
type_: Uint32
< ::SDL_DOLLARGESTURE or ::SDL_DOLLARRECORD
timestamp: Uint32
< In milliseconds, populated using SDL_GetTicks()
touchId: SDL_TouchID
< The touch device id
gestureId: SDL_GestureID
numFingers: Uint32
error: f32
x: f32
< Normalized center of gesture
y: f32
< Normalized center of gesture