CommonLibSSE NG
Loading...
Searching...
No Matches
RE::XInput Namespace Reference

Classes

struct  __XINPUT_CAPABILITIES
 
struct  __XINPUT_GAMEPAD
 
struct  __XINPUT_KEYSTROKE
 
struct  __XINPUT_STATE
 
struct  __XINPUT_VIBRATION
 

Typedefs

using XINPUT_GAMEPAD = __XINPUT_GAMEPAD
 
using XINPUT_STATE = __XINPUT_STATE
 
using XINPUT_KEYSTROKE = __XINPUT_KEYSTROKE
 
using XINPUT_VIBRATION = __XINPUT_VIBRATION
 
using XINPUT_CAPABILITIES = __XINPUT_CAPABILITIES
 

Enumerations

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

Variables

static constexpr std::uint16_t XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE = 7849
 
static constexpr std::uint16_t XINPUT_GAMEPAD_RIGHT_THUMB_DEADZONE = 8689
 
static constexpr std::uint8_t XINPUT_GAMEPAD_TRIGGER_THRESHOLD = 30
 
static constexpr std::uint16_t XINPUT_BUTTON_MASK
 

Typedef Documentation

◆ XINPUT_CAPABILITIES

◆ XINPUT_GAMEPAD

◆ XINPUT_KEYSTROKE

◆ XINPUT_STATE

◆ XINPUT_VIBRATION

Enumeration Type Documentation

◆ XInputButton

enum RE::XInput::XInputButton : std::uint16_t
Enumerator
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 

Variable Documentation

◆ XINPUT_BUTTON_MASK

constexpr std::uint16_t RE::XInput::XINPUT_BUTTON_MASK
staticconstexpr
Initial value:
@ XINPUT_GAMEPAD_X
Definition XInputAPI.h:63
@ XINPUT_GAMEPAD_START
Definition XInputAPI.h:55
@ XINPUT_GAMEPAD_DPAD_LEFT
Definition XInputAPI.h:53
@ XINPUT_GAMEPAD_Y
Definition XInputAPI.h:64
@ XINPUT_GAMEPAD_DPAD_DOWN
Definition XInputAPI.h:52
@ XINPUT_GAMEPAD_LEFT_THUMB
Definition XInputAPI.h:57
@ XINPUT_GAMEPAD_BACK
Definition XInputAPI.h:56
@ XINPUT_GAMEPAD_LEFT_SHOULDER
Definition XInputAPI.h:59
@ XINPUT_GAMEPAD_DPAD_UP
Definition XInputAPI.h:51
@ XINPUT_GAMEPAD_DPAD_RIGHT
Definition XInputAPI.h:54
@ XINPUT_GAMEPAD_RIGHT_SHOULDER
Definition XInputAPI.h:60
@ XINPUT_GAMEPAD_RIGHT_THUMB
Definition XInputAPI.h:58
@ XINPUT_GAMEPAD_A
Definition XInputAPI.h:61
@ XINPUT_GAMEPAD_B
Definition XInputAPI.h:62

◆ XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE

constexpr std::uint16_t RE::XInput::XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE = 7849
staticconstexpr

◆ XINPUT_GAMEPAD_RIGHT_THUMB_DEADZONE

constexpr std::uint16_t RE::XInput::XINPUT_GAMEPAD_RIGHT_THUMB_DEADZONE = 8689
staticconstexpr

◆ XINPUT_GAMEPAD_TRIGGER_THRESHOLD

constexpr std::uint8_t RE::XInput::XINPUT_GAMEPAD_TRIGGER_THRESHOLD = 30
staticconstexpr