Home
last modified time | relevance | path

Searched refs:accelerometer (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/SDL2/src/joystick/iphoneos/
A DSDL_sysjoystick_c.h33 SDL_bool accelerometer; member
A DSDL_sysjoystick.m262 IOS_AddJoystickDevice(GCController *controller, SDL_bool accelerometer)
287 device->accelerometer = accelerometer; method in device
290 if (accelerometer) { category
300 /* 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 what
585 Once converted to Sint16, the accelerometer data no longer has coherent
782 if (device->accelerometer) { method in device
801 if (device->accelerometer) {
/AliOS-Things-master/components/SDL2/docs/
A DREADME-ios.md158 …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