Added support for the Steam Controller on mobile devices
This commit is contained in:
parent
c9c89783cb
commit
355f0b54ec
4 changed files with 12 additions and 9 deletions
|
@ -74,14 +74,6 @@ struct _SDL_Joystick
|
|||
struct _SDL_Joystick *next; /* pointer to next joystick we have allocated */
|
||||
};
|
||||
|
||||
#if defined(__IPHONEOS__) || defined(__ANDROID__)
|
||||
#define HAVE_STEAMCONTROLLERS
|
||||
#define USE_STEAMCONTROLLER_HIDAPI
|
||||
#elif defined(__LINUX__)
|
||||
#define HAVE_STEAMCONTROLLERS
|
||||
#define USE_STEAMCONTROLLER_LINUX
|
||||
#endif
|
||||
|
||||
/* Device bus definitions */
|
||||
#define SDL_HARDWARE_BUS_USB 0x03
|
||||
#define SDL_HARDWARE_BUS_BLUETOOTH 0x05
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue