|
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"
Include dependency graph for SDL_hidapijoystick_c.h:
This graph shows which files directly or indirectly include this file: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_PS5 |
| #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) |
| void | HIDAPI_DumpPacket (const char *prefix, Uint8 *data, int size) |
| #define SDL_JOYSTICK_HIDAPI_GAMECUBE |
Definition at line 39 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_PS5 |
Definition at line 35 of file SDL_hidapijoystick_c.h.
| #define SDL_JOYSTICK_HIDAPI_SWITCH |
Definition at line 36 of file SDL_hidapijoystick_c.h.
| #define SDL_JOYSTICK_HIDAPI_XBOX360 |
Definition at line 37 of file SDL_hidapijoystick_c.h.
| #define SDL_JOYSTICK_HIDAPI_XBOXONE |
Definition at line 38 of file SDL_hidapijoystick_c.h.
| #define USB_PACKET_LENGTH 64 |
Definition at line 47 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().
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |