CommonLibSSE NG
RE::BSWin32MouseDevice Class Reference

#include <BSWin32MouseDevice.h>

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

Classes

struct  Keys
 

Public Types

using Key = Keys::Key
 

Public Member Functions

 ~BSWin32MouseDevice () override
 
void Initialize () override
 
void Process (float a_arg1) override
 
void Release () override
 
void Reset () override
 
void Reinitialize (void) override
 
- Public Member Functions inherited from RE::BSMouseDevice
 ~BSMouseDevice () 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 ()
 

Public Attributes

REX::W32::IDirectInputDevice8A * dInputDevice
 
REX::W32::DIMOUSESTATE2 dInputPrevState {}
 
REX::W32::DIMOUSESTATE2 dInputNextState {}
 
bool notInitialized
 
BSSpinLock reinitializeLock
 
- Public Attributes inherited from RE::BSMouseDevice
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_BSWin32MouseDevice
 
static constexpr auto VTABLE = VTABLE_BSWin32MouseDevice
 
- Static Public Attributes inherited from RE::BSMouseDevice
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

 BSWin32MouseDevice ()
 
- Protected Member Functions inherited from RE::BSMouseDevice
 BSMouseDevice ()
 

Member Typedef Documentation

◆ Key

Constructor & Destructor Documentation

◆ ~BSWin32MouseDevice()

RE::BSWin32MouseDevice::~BSWin32MouseDevice ( )
override

◆ BSWin32MouseDevice()

RE::BSWin32MouseDevice::BSWin32MouseDevice ( )
protected

Member Function Documentation

◆ Initialize()

void RE::BSWin32MouseDevice::Initialize ( )
overridevirtual

Implements RE::BSIInputDevice.

◆ Process()

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

Implements RE::BSIInputDevice.

◆ Reinitialize()

void RE::BSWin32MouseDevice::Reinitialize ( void  )
overridevirtual

Reimplemented from RE::BSMouseDevice.

◆ Release()

void RE::BSWin32MouseDevice::Release ( )
overridevirtual

Implements RE::BSIInputDevice.

◆ Reset()

void RE::BSWin32MouseDevice::Reset ( )
overridevirtual

Implements RE::BSIInputDevice.

Member Data Documentation

◆ dInputDevice

REX::W32::IDirectInputDevice8A* RE::BSWin32MouseDevice::dInputDevice

◆ dInputNextState

REX::W32::DIMOUSESTATE2 RE::BSWin32MouseDevice::dInputNextState {}

◆ dInputPrevState

REX::W32::DIMOUSESTATE2 RE::BSWin32MouseDevice::dInputPrevState {}

◆ notInitialized

bool RE::BSWin32MouseDevice::notInitialized

◆ reinitializeLock

BSSpinLock RE::BSWin32MouseDevice::reinitializeLock
mutable

◆ RTTI

constexpr auto RE::BSWin32MouseDevice::RTTI = RTTI_BSWin32MouseDevice
inlinestaticconstexpr

◆ VTABLE

constexpr auto RE::BSWin32MouseDevice::VTABLE = VTABLE_BSWin32MouseDevice
inlinestaticconstexpr

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