Searched refs:accelerometer (Results 1 – 3 of 3) sorted by relevance
33 SDL_bool accelerometer; member
262 IOS_AddJoystickDevice(GCController *controller, SDL_bool accelerometer)287 device->accelerometer = accelerometer; method in device290 if (accelerometer) { category300 /* Use the accelerometer name as a GUID. */398 /* Default behavior, accelerometer as joystick */528 if (device->accelerometer) {575 Convert accelerometer data from floating point to Sint16, which is what585 Once converted to Sint16, the accelerometer data no longer has coherent782 if (device->accelerometer) { method in device801 if (device->accelerometer) {
158 …supports polling the built in accelerometer as a joystick device. For an example on how to do thi…160 …he main thing to note when using the accelerometer with SDL is that while the iPhone natively repo…
Completed in 12 milliseconds