CommonLibSSE (powerof3)
RE::BSWin32KeyboardDevice Class Reference

#include <BSWin32KeyboardDevice.h>

Inheritance diagram for RE::BSWin32KeyboardDevice:
RE::BSKeyboardDevice RE::BSInputDevice RE::BSIInputDevice

Public Member Functions

 ~BSWin32KeyboardDevice () override
 
void Initialize () override
 
void Process (float a_unk1) override
 
void Release () override
 
void Reset () override
 
void Unk_09 (void) override
 
void Unk_0A (void) override
 
bool IsPressed (std::uint32_t a_keyCode) const
 
Key RemapNumpadKey (REX::W32::DIK a_key)
 
- Public Member Functions inherited from RE::BSKeyboardDevice
 ~BSKeyboardDevice () 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::IDirectInput8A * dInputDevice
 
REX::W32::DIDEVICEOBJECTDATA diObjData [10]
 
std::uint8_t prevState [0x100]
 
std::uint8_t curState [0x100]
 
bool capsLockOn
 
- 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_BSWin32KeyboardDevice
 
static constexpr auto VTABLE = VTABLE_BSWin32KeyboardDevice
 
- Static Public Attributes inherited from RE::BSKeyboardDevice
static constexpr auto RTTI = RTTI_BSKeyboardDevice
 
static constexpr auto VTABLE = VTABLE_BSKeyboardDevice
 
- 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

 BSWin32KeyboardDevice ()
 
- Protected Member Functions inherited from RE::BSKeyboardDevice
 BSKeyboardDevice ()
 

Additional Inherited Members

- Public Types inherited from RE::BSKeyboardDevice
using Key = Keys::Key
 

Constructor & Destructor Documentation

◆ ~BSWin32KeyboardDevice()

RE::BSWin32KeyboardDevice::~BSWin32KeyboardDevice ( )
override

◆ BSWin32KeyboardDevice()

RE::BSWin32KeyboardDevice::BSWin32KeyboardDevice ( )
protected

Member Function Documentation

◆ Initialize()

void RE::BSWin32KeyboardDevice::Initialize ( )
overridevirtual

Implements RE::BSIInputDevice.

◆ IsPressed()

bool RE::BSWin32KeyboardDevice::IsPressed ( std::uint32_t  a_keyCode) const

◆ Process()

void RE::BSWin32KeyboardDevice::Process ( float  a_unk1)
overridevirtual

Implements RE::BSIInputDevice.

◆ Release()

void RE::BSWin32KeyboardDevice::Release ( )
overridevirtual

Implements RE::BSIInputDevice.

◆ RemapNumpadKey()

Key RE::BSWin32KeyboardDevice::RemapNumpadKey ( REX::W32::DIK  a_key)

◆ Reset()

void RE::BSWin32KeyboardDevice::Reset ( )
overridevirtual

Implements RE::BSIInputDevice.

◆ Unk_09()

void RE::BSWin32KeyboardDevice::Unk_09 ( void  )
overridevirtual

Implements RE::BSKeyboardDevice.

◆ Unk_0A()

void RE::BSWin32KeyboardDevice::Unk_0A ( void  )
overridevirtual

Implements RE::BSKeyboardDevice.

Member Data Documentation

◆ capsLockOn

bool RE::BSWin32KeyboardDevice::capsLockOn

◆ curState

std::uint8_t RE::BSWin32KeyboardDevice::curState[0x100]

◆ dInputDevice

REX::W32::IDirectInput8A* RE::BSWin32KeyboardDevice::dInputDevice

◆ diObjData

REX::W32::DIDEVICEOBJECTDATA RE::BSWin32KeyboardDevice::diObjData[10]

◆ prevState

std::uint8_t RE::BSWin32KeyboardDevice::prevState[0x100]

◆ RTTI

constexpr auto RE::BSWin32KeyboardDevice::RTTI = RTTI_BSWin32KeyboardDevice
inlinestaticconstexpr

◆ VTABLE

constexpr auto RE::BSWin32KeyboardDevice::VTABLE = VTABLE_BSWin32KeyboardDevice
inlinestaticconstexpr

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