CommonLibVR
RE::BSMouseDevice Class Reference

#include <BSMouseDevice.h>

Inheritance diagram for RE::BSMouseDevice:
RE::BSInputDevice RE::BSIInputDevice RE::BSWin32MouseDevice

Public Member Functions

 ~BSMouseDevice () override
 
virtual void Reinitialize (void)
 
- Public Member Functions inherited from RE::BSInputDevice
 ~BSInputDevice () override
 
bool GetButtonNameFromID (std::int32_t a_id, BSFixedString &a_buttonName) override
 
std::uint32_t GetMappingKey (BSFixedString a_mapping) override
 
bool GetKeyCodeFromID (std::int32_t a_id, std::uint32_t &a_keyCode) 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 ()
 
virtual void Initialize ()=0
 
virtual void Process (float a_arg1)=0
 
virtual void Release ()=0
 
virtual void Reset ()=0
 

Public Attributes

bool backgroundMouse
 
- 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
 

Static Public Attributes

static constexpr auto RTTI = RTTI_BSMouseDevice
 
static constexpr auto VTABLE = VTABLE_BSMouseDevice
 
- 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
 

Protected Member Functions

 BSMouseDevice ()
 

Friends

class BSInputDeviceFactory
 

Constructor & Destructor Documentation

◆ ~BSMouseDevice()

RE::BSMouseDevice::~BSMouseDevice ( )
override

◆ BSMouseDevice()

RE::BSMouseDevice::BSMouseDevice ( )
protected

Member Function Documentation

◆ Reinitialize()

virtual void RE::BSMouseDevice::Reinitialize ( void  )
virtual

Reimplemented in RE::BSWin32MouseDevice.

Friends And Related Function Documentation

◆ BSInputDeviceFactory

friend class BSInputDeviceFactory
friend

Member Data Documentation

◆ backgroundMouse

bool RE::BSMouseDevice::backgroundMouse

◆ RTTI

constexpr auto RE::BSMouseDevice::RTTI = RTTI_BSMouseDevice
inlinestaticconstexpr

◆ VTABLE

constexpr auto RE::BSMouseDevice::VTABLE = VTABLE_BSMouseDevice
inlinestaticconstexpr

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