|
Size: 1479
Comment: Removed DRAFT by request, see docs mailing list.
|
Size: 1540
Comment: Updated title.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| ## page was renamed from SDL_HINT_ACCEL_AS_JOY | |
| Line 7: | Line 8: |
| = SDL_HINT_ACCEL_AS_JOY = | = SDL_HINT_ACCELEROMETER_AS_JOYSTICK = |
SDL_HINT_ACCELEROMETER_AS_JOYSTICK
A hint that specifies whether an Android built-in accelerometer should be listed as a joystick device, rather than listing actual joysticks only.
Values
0 |
list only real joysticks and accept input from them |
1 |
list real joysticks along with the accelerometer as if it were a 3 axis joystick (the default) |
Default
By default SDL will list real joysticks along with the accelerometer as if it were a 3 axis joystick.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Version
This hint is available since SDL 2.0.2.
