Module fermium::sensor

source ·
Expand description

Lets SDL use various sensors (such as the accelerometer in a phone).

SDL_Init must have been called with the SDL_INIT_SENSOR flag. This causes SDL to scan the system for sensors, and load appropriate drivers.

Structs

Constants

Functions