CommonLibSSE NG
Loading...
Searching...
No Matches
RE::BSKeyboardDevice Class Referenceabstract

#include <BSKeyboardDevice.h>

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

Classes

struct  Keys
 

Public Types

using Key = Keys::Key
 

Public Member Functions

 ~BSKeyboardDevice () override
 
virtual void Unk_09 (void)=0
 
virtual void Unk_0A (void)=0
 
- 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_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

 BSKeyboardDevice ()
 
- Protected Member Functions inherited from RE::BSInputDevice
 BSInputDevice ()
 
- Protected Member Functions inherited from RE::BSIInputDevice
 TES_HEAP_REDEFINE_NEW ()
 
 BSIInputDevice ()=default
 

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
 

Member Typedef Documentation

◆ Key

Constructor & Destructor Documentation

◆ ~BSKeyboardDevice()

RE::BSKeyboardDevice::~BSKeyboardDevice ( )
override

◆ BSKeyboardDevice()

RE::BSKeyboardDevice::BSKeyboardDevice ( )
protected

Member Function Documentation

◆ Unk_09()

virtual void RE::BSKeyboardDevice::Unk_09 ( void  )
pure virtual

◆ Unk_0A()

virtual void RE::BSKeyboardDevice::Unk_0A ( void  )
pure virtual

Member Data Documentation

◆ RTTI

constexpr auto RE::BSKeyboardDevice::RTTI = RTTI_BSKeyboardDevice
inlinestaticconstexpr

◆ VTABLE

constexpr auto RE::BSKeyboardDevice::VTABLE = VTABLE_BSKeyboardDevice
inlinestaticconstexpr

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