CommonLibVR
XINPUT.h File Reference

Go to the source code of this file.

Classes

struct  REX::W32::XINPUT_BATTERY_INFORMATION
 
struct  REX::W32::XINPUT_GAMEPAD
 
struct  REX::W32::XINPUT_KEYSTROKE
 
struct  REX::W32::XINPUT_STATE
 
struct  REX::W32::XINPUT_VIBRATION
 
struct  REX::W32::XINPUT_CAPABILITIES
 

Namespaces

 REX
 
 REX::W32
 

Enumerations

enum  REX::W32::XINPUT_GAMEPAD_BUTTON : std::uint16_t {
  REX::W32::XINPUT_GAMEPAD_DPAD_UP = 0x0001 , REX::W32::XINPUT_GAMEPAD_DPAD_DOWN = 0x0002 , REX::W32::XINPUT_GAMEPAD_DPAD_LEFT = 0x0004 , REX::W32::XINPUT_GAMEPAD_DPAD_RIGHT = 0x0008 ,
  REX::W32::XINPUT_GAMEPAD_START = 0x0010 , REX::W32::XINPUT_GAMEPAD_BACK = 0x0020 , REX::W32::XINPUT_GAMEPAD_LEFT_THUMB = 0x0040 , REX::W32::XINPUT_GAMEPAD_RIGHT_THUMB = 0x0080 ,
  REX::W32::XINPUT_GAMEPAD_LEFT_SHOULDER = 0x0100 , REX::W32::XINPUT_GAMEPAD_RIGHT_SHOULDER = 0x0200 , REX::W32::XINPUT_GAMEPAD_A = 0x1000 , REX::W32::XINPUT_GAMEPAD_B = 0x2000 ,
  REX::W32::XINPUT_GAMEPAD_X = 0x4000 , REX::W32::XINPUT_GAMEPAD_Y = 0x8000 , REX::W32::XINPUT_GAMEPAD_BUTTON_MASK = XINPUT_GAMEPAD_DPAD_UP | XINPUT_GAMEPAD_DPAD_DOWN | XINPUT_GAMEPAD_DPAD_LEFT | XINPUT_GAMEPAD_DPAD_RIGHT | XINPUT_GAMEPAD_START | XINPUT_GAMEPAD_BACK | XINPUT_GAMEPAD_LEFT_THUMB | XINPUT_GAMEPAD_RIGHT_THUMB | XINPUT_GAMEPAD_LEFT_SHOULDER | XINPUT_GAMEPAD_RIGHT_SHOULDER | XINPUT_GAMEPAD_A | XINPUT_GAMEPAD_B | XINPUT_GAMEPAD_X | XINPUT_GAMEPAD_Y
}
 

Variables

constexpr std::uint16_t REX::W32::XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE { 7849 }
 
constexpr std::uint16_t REX::W32::XINPUT_GAMEPAD_RIGHT_THUMB_DEADZONE { 8689 }
 
constexpr std::uint8_t REX::W32::XINPUT_GAMEPAD_TRIGGER_THRESHOLD { 30 }