CommonLibVR
RE::ThumbstickEvent Class Reference

#include <ThumbstickEvent.h>

Inheritance diagram for RE::ThumbstickEvent:
RE::IDEvent RE::InputEvent

Classes

struct  InputTypes
 

Public Types

using InputType = InputTypes::InputType
 

Public Member Functions

void Init (InputType a_id, float a_xValue, float a_yValue)
 
void Init (InputType a_id, INPUT_DEVICE a_device, float a_xValue, float a_yValue)
 
void Init (InputType a_id, INPUT_DEVICE a_device, float a_xValue, float a_yValue, const RE::BSFixedString &a_userEvent)
 
bool IsLeft () const
 
bool IsRight () const
 
- Public Member Functions inherited from RE::IDEvent
 ~IDEvent () override
 
bool HasIDCode () const override
 
const BSFixedStringQUserEvent () const override
 
constexpr std::uint32_t GetIDCode () const noexcept
 
- Public Member Functions inherited from RE::InputEvent
virtual ~InputEvent ()
 
constexpr INPUT_EVENT_TYPE GetEventType () const noexcept
 
constexpr INPUT_DEVICE GetDevice () const noexcept
 
ButtonEventAsButtonEvent ()
 
const ButtonEventAsButtonEvent () const
 
CharEventAsCharEvent ()
 
const CharEventAsCharEvent () const
 
IDEventAsIDEvent ()
 
const IDEventAsIDEvent () const
 
MouseMoveEventAsMouseMoveEvent ()
 
const MouseMoveEventAsMouseMoveEvent () const
 
ThumbstickEventAsThumbstickEvent ()
 
const ThumbstickEventAsThumbstickEvent () const
 

Public Attributes

float xValue
 
float yValue
 
- Public Attributes inherited from RE::IDEvent
BSFixedString userEvent
 
std::uint32_t idCode
 
std::uint32_t pad24
 
- Public Attributes inherited from RE::InputEvent
stl::enumeration< INPUT_DEVICE, std::uint32_t > device
 
stl::enumeration< INPUT_EVENT_TYPE, std::uint32_t > eventType
 
InputEventnext
 

Static Public Attributes

static constexpr auto RTTI = RTTI_ThumbstickEvent
 
static constexpr auto VTABLE = VTABLE_ThumbstickEvent
 
- Static Public Attributes inherited from RE::IDEvent
static constexpr auto RTTI = RTTI_IDEvent
 
static constexpr auto VTABLE = VTABLE_IDEvent
 
- Static Public Attributes inherited from RE::InputEvent
static constexpr auto RTTI = RTTI_InputEvent
 
static constexpr auto VTABLE = VTABLE_InputEvent
 

Member Typedef Documentation

◆ InputType

Member Function Documentation

◆ Init() [1/3]

void RE::ThumbstickEvent::Init ( InputType  a_id,
float  a_xValue,
float  a_yValue 
)
inline

◆ Init() [2/3]

void RE::ThumbstickEvent::Init ( InputType  a_id,
INPUT_DEVICE  a_device,
float  a_xValue,
float  a_yValue 
)
inline

◆ Init() [3/3]

void RE::ThumbstickEvent::Init ( InputType  a_id,
INPUT_DEVICE  a_device,
float  a_xValue,
float  a_yValue,
const RE::BSFixedString a_userEvent 
)
inline

◆ IsLeft()

bool RE::ThumbstickEvent::IsLeft ( ) const

◆ IsRight()

bool RE::ThumbstickEvent::IsRight ( ) const

Member Data Documentation

◆ RTTI

constexpr auto RE::ThumbstickEvent::RTTI = RTTI_ThumbstickEvent
inlinestaticconstexpr

◆ VTABLE

constexpr auto RE::ThumbstickEvent::VTABLE = VTABLE_ThumbstickEvent
inlinestaticconstexpr

◆ xValue

float RE::ThumbstickEvent::xValue

◆ yValue

float RE::ThumbstickEvent::yValue

The documentation for this class was generated from the following file: