include/SDL_hints.h
changeset 7907 24b4e98c6010
parent 7764 0f48b5f28668
child 7915 86ad156a82ab
     1.1 --- a/include/SDL_hints.h	Sun Nov 03 11:34:03 2013 -0800
     1.2 +++ b/include/SDL_hints.h	Tue Nov 05 20:07:39 2013 -0300
     1.3 @@ -203,6 +203,16 @@
     1.4   *    "LandscapeLeft", "LandscapeRight", "Portrait" "PortraitUpsideDown"
     1.5   */
     1.6  #define SDL_HINT_ORIENTATIONS "SDL_IOS_ORIENTATIONS"
     1.7 +    
     1.8 +/**
     1.9 + *  \brief  A variable controlling whether an Android built-in accelerometer should be
    1.10 + *  listed as a joystick device, rather than listing actual joysticks only.
    1.11 + *
    1.12 + *  This variable can be set to the following values:
    1.13 + *    "0"       - List only real joysticks and accept input from them
    1.14 + *    "1"       - List real joysticks along with the accelerometer as if it were a 3 axis joystick (the default).
    1.15 + */
    1.16 +#define SDL_HINT_ACCEL_AS_JOY "SDL_ACCEL_AS_JOY"
    1.17  
    1.18  
    1.19  /**