SDL
2.0
|
#include "../../SDL_internal.h"
#include "SDL_atomic.h"
#include "SDL_mutex.h"
#include "SDL_joystick.h"
#include "SDL_gamecontroller.h"
#include "../../hidapi/hidapi/hidapi.h"
#include "../usb_ids.h"
Go to the source code of this file.
Data Structures | |
struct | _SDL_HIDAPI_Device |
struct | _SDL_HIDAPI_DeviceDriver |
Macros | |
#define | SDL_JOYSTICK_HIDAPI_PS4 |
#define | SDL_JOYSTICK_HIDAPI_SWITCH |
#define | SDL_JOYSTICK_HIDAPI_XBOX360 |
#define | SDL_JOYSTICK_HIDAPI_XBOXONE |
#define | SDL_JOYSTICK_HIDAPI_GAMECUBE |
#define | USB_PACKET_LENGTH 64 |
Functions | |
SDL_bool | HIDAPI_IsDevicePresent (Uint16 vendor_id, Uint16 product_id, Uint16 version, const char *name) |
void | HIDAPI_UpdateDevices (void) |
SDL_bool | HIDAPI_JoystickConnected (SDL_HIDAPI_Device *device, SDL_JoystickID *pJoystickID) |
void | HIDAPI_JoystickDisconnected (SDL_HIDAPI_Device *device, SDL_JoystickID joystickID) |
Variables | |
SDL_HIDAPI_DeviceDriver | SDL_HIDAPI_DriverPS4 |
SDL_HIDAPI_DeviceDriver | SDL_HIDAPI_DriverSteam |
SDL_HIDAPI_DeviceDriver | SDL_HIDAPI_DriverSwitch |
SDL_HIDAPI_DeviceDriver | SDL_HIDAPI_DriverXbox360 |
SDL_HIDAPI_DeviceDriver | SDL_HIDAPI_DriverXbox360W |
SDL_HIDAPI_DeviceDriver | SDL_HIDAPI_DriverXboxOne |
SDL_HIDAPI_DeviceDriver | SDL_HIDAPI_DriverGameCube |
#define SDL_JOYSTICK_HIDAPI_GAMECUBE |
Definition at line 38 of file SDL_hidapijoystick_c.h.
#define SDL_JOYSTICK_HIDAPI_PS4 |
Definition at line 34 of file SDL_hidapijoystick_c.h.
#define SDL_JOYSTICK_HIDAPI_SWITCH |
Definition at line 35 of file SDL_hidapijoystick_c.h.
#define SDL_JOYSTICK_HIDAPI_XBOX360 |
Definition at line 36 of file SDL_hidapijoystick_c.h.
#define SDL_JOYSTICK_HIDAPI_XBOXONE |
Definition at line 37 of file SDL_hidapijoystick_c.h.
#define USB_PACKET_LENGTH 64 |
Definition at line 58 of file SDL_hidapijoystick_c.h.
SDL_bool HIDAPI_IsDevicePresent | ( | Uint16 | vendor_id, |
Uint16 | product_id, | ||
Uint16 | version, | ||
const char * | name | ||
) |
SDL_bool HIDAPI_JoystickConnected | ( | SDL_HIDAPI_Device * | device, |
SDL_JoystickID * | pJoystickID | ||
) |
void HIDAPI_JoystickDisconnected | ( | SDL_HIDAPI_Device * | device, |
SDL_JoystickID | joystickID | ||
) |
Referenced by SDL_JoystickUpdate().
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverGameCube |
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverPS4 |
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverSteam |
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverSwitch |
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverXbox360 |
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverXbox360W |
SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverXboxOne |