src/joystick/SDL_sysjoystick.h
changeset 11663 0d96acbd34f0
parent 10966 a8f6d07da15a
child 11811 5d94cb6b24d3
equal deleted inserted replaced
11662:a996f135cc81 11663:0d96acbd34f0
   124 #if SDL_JOYSTICK_XINPUT
   124 #if SDL_JOYSTICK_XINPUT
   125 /* Function returns SDL_TRUE if this device is an XInput gamepad */
   125 /* Function returns SDL_TRUE if this device is an XInput gamepad */
   126 extern SDL_bool SDL_SYS_IsXInputGamepad_DeviceIndex(int device_index);
   126 extern SDL_bool SDL_SYS_IsXInputGamepad_DeviceIndex(int device_index);
   127 #endif
   127 #endif
   128 
   128 
       
   129 #if defined(__ANDROID__)
       
   130 /* Function returns SDL_TRUE if this device is a DPAD (maybe a TV remote) */
       
   131 extern SDL_bool SDL_SYS_IsDPAD_DeviceIndex(int device_index);
       
   132 #endif
       
   133 
   129 #endif /* SDL_sysjoystick_h_ */
   134 #endif /* SDL_sysjoystick_h_ */
   130 
   135 
   131 /* vi: set ts=4 sw=4 expandtab: */
   136 /* vi: set ts=4 sw=4 expandtab: */