CommonLibSSE NG
Loading...
Searching...
No Matches
XInputAPI.h File Reference

Go to the source code of this file.

Classes

struct  RE::XInput::__XINPUT_GAMEPAD
 
struct  RE::XInput::__XINPUT_STATE
 
struct  RE::XInput::__XINPUT_KEYSTROKE
 
struct  RE::XInput::__XINPUT_VIBRATION
 
struct  RE::XInput::__XINPUT_CAPABILITIES
 

Namespaces

namespace  RE
 
namespace  RE::XInput
 

Typedefs

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

Enumerations

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

Variables

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