CommonLibSSE NG
Loading...
Searching...
No Matches
RE::BSOpenVRControllerDevice Class Reference

#include <BSOpenVRControllerDevice.h>

Inheritance diagram for RE::BSOpenVRControllerDevice:
RE::BSTrackedControllerDevice RE::BSInputDevice RE::BSIInputDevice

Public Member Functions

 ~BSOpenVRControllerDevice () override
 
void Initialize () override
 
void Process (float a_arg1) override
 
void Release () override
 
bool GetKeyMapping (std::uint32_t a_key, BSFixedString &a_mapping) override
 
std::uint32_t GetMappingKey (BSFixedString a_mapping) override
 
bool GetMappedKeycode (std::uint32_t a_key, std::uint32_t &outKeyCode) override
 
bool IsEnabled () const override
 
void Reset () override
 
- Public Member Functions inherited from RE::BSTrackedControllerDevice
 ~BSTrackedControllerDevice () override
 
bool GetKeyMapping (std::uint32_t a_key, BSFixedString &a_mapping) override
 
std::uint32_t GetMappingKey (BSFixedString a_mapping) override
 
bool GetMappedKeycode (std::uint32_t a_key, std::uint32_t &outKeyCode) override
 
bool IsEnabled () const override
 
- Public Member Functions inherited from RE::BSInputDevice
 ~BSInputDevice () override
 
bool GetKeyMapping (std::uint32_t a_key, BSFixedString &a_mapping) override
 
std::uint32_t GetMappingKey (BSFixedString a_mapping) override
 
bool GetMappedKeycode (std::uint32_t a_key, std::uint32_t &outKeyCode) override
 
bool IsEnabled () const override
 
bool IsKeyboard () const
 
bool IsMouse () const
 
bool IsGamepad () const
 
bool IsPressed (std::uint32_t a_keyCode) const
 
bool LoadControlsDefinitionFile (const char *a_fileName)
 
void ResetButtonMaps ()
 
void SetButtonState (std::uint32_t a_buttonId, float a_timeSinceLastPoll, bool a_buttonWasPressed, bool a_buttonIsPressed)
 
- Public Member Functions inherited from RE::BSIInputDevice
virtual ~BSIInputDevice ()=default
 
virtual void Initialize ()=0
 
virtual void Process (float a_arg1)=0
 
virtual void Release ()=0
 
virtual bool GetKeyMapping (std::uint32_t a_key, BSFixedString &a_mapping)=0
 
virtual std::uint32_t GetMappingKey (BSFixedString a_mapping)=0
 
virtual bool GetMappedKeycode (std::uint32_t a_key, std::uint32_t &outKeyCode)=0
 
virtual bool IsEnabled () const =0
 
virtual void Reset ()=0
 

Static Public Attributes

static constexpr auto RTTI = RTTI_BSOpenVRControllerDevice
 
- Static Public Attributes inherited from RE::BSTrackedControllerDevice
static constexpr auto RTTI = RTTI_BSTrackedControllerDevice
 
- Static Public Attributes inherited from RE::BSInputDevice
static constexpr auto RTTI = RTTI_BSInputDevice
 
static constexpr auto VTABLE = VTABLE_BSInputDevice
 
- Static Public Attributes inherited from RE::BSIInputDevice
static constexpr auto RTTI = RTTI_BSIInputDevice
 
static constexpr auto VTABLE = VTABLE_BSIInputDevice
 

Additional Inherited Members

- Public Attributes inherited from RE::BSInputDevice
INPUT_DEVICE device
 
std::uint32_t pad0C
 
BSTHashMap< std::uint32_t, InputButton * > deviceButtons
 
BSTHashMap< BSFixedString, std::uint32_t > buttonNameIDMap
 
- Protected Member Functions inherited from RE::BSInputDevice
 BSInputDevice ()
 
- Protected Member Functions inherited from RE::BSIInputDevice
 TES_HEAP_REDEFINE_NEW ()
 
 BSIInputDevice ()=default
 

Constructor & Destructor Documentation

◆ ~BSOpenVRControllerDevice()

RE::BSOpenVRControllerDevice::~BSOpenVRControllerDevice ( )
override

Member Function Documentation

◆ GetKeyMapping()

bool RE::BSOpenVRControllerDevice::GetKeyMapping ( std::uint32_t  a_key,
BSFixedString a_mapping 
)
overridevirtual

Reimplemented from RE::BSInputDevice.

◆ GetMappedKeycode()

bool RE::BSOpenVRControllerDevice::GetMappedKeycode ( std::uint32_t  a_key,
std::uint32_t &  outKeyCode 
)
overridevirtual

Reimplemented from RE::BSInputDevice.

◆ GetMappingKey()

std::uint32_t RE::BSOpenVRControllerDevice::GetMappingKey ( BSFixedString  a_mapping)
overridevirtual

Reimplemented from RE::BSInputDevice.

◆ Initialize()

void RE::BSOpenVRControllerDevice::Initialize ( )
overridevirtual

Implements RE::BSIInputDevice.

◆ IsEnabled()

bool RE::BSOpenVRControllerDevice::IsEnabled ( ) const
overridevirtual

Reimplemented from RE::BSInputDevice.

◆ Process()

void RE::BSOpenVRControllerDevice::Process ( float  a_arg1)
overridevirtual

Implements RE::BSIInputDevice.

◆ Release()

void RE::BSOpenVRControllerDevice::Release ( )
overridevirtual

Implements RE::BSIInputDevice.

◆ Reset()

void RE::BSOpenVRControllerDevice::Reset ( )
overridevirtual

Implements RE::BSIInputDevice.

Member Data Documentation

◆ RTTI

constexpr auto RE::BSOpenVRControllerDevice::RTTI = RTTI_BSOpenVRControllerDevice
inlinestaticconstexpr

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