Atlas - SDL_hidapi_xbox360.h
Home / ext / SDL / src / joystick / hidapi Lines: 1 | Size: 528 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]1#include "SDL_internal.h" 2 3#define FLAG_FORCE_FEEDBACK 0x01 4#define FLAG_WIRELESS 0x02 5#define FLAG_VOICE 0x04 6#define FLAG_PLUGIN_MODULES 0x08 7#define FLAG_NO_NAVIGATION 0x10 8 9typedef struct { 10 uint8_t type; 11 uint8_t subType; 12 uint16_t flags; 13 struct { 14 uint16_t wButtons; 15 uint8_t bLeftTrigger; 16 uint8_t bRightTrigger; 17 int16_t sThumbLX; 18 int16_t sThumbLY; 19 int16_t sThumbRX; 20 int16_t sThumbRY; 21 } gamepad; 22 23 struct { 24 uint16_t wLeftMotorSpeed; 25 uint16_t wRightMotorSpeed; 26 } vibration; 27} SDL_xinput_capabilities;[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.