Wiki Page Content

Revision 2 as of 2018-12-11 08:39:30

Clear message

SDL_SensorEvent

A structure that contains sensor updates.

Data Fields

Uint32

type

SDL_SENSORUPDATE

Uint32

timestamp

In milliseconds, populated using SDL_GetTicks()

Sint32

which

The instance ID of the sensor

float[6]

data

Up to 6 values from the sensor - additional values can be queried using SDL_SensorGetData()


CategoryStruct, CategoryEvents

Feedback
Please include your contact information if you'd like to receive a reply.
Submit