CommonLibSSE NG
|
#include <BSInputDevice.h>
Classes | |
struct | InputButton |
Public Member Functions | |
~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 () |
virtual void | Initialize ()=0 |
virtual void | Process (float a_arg1)=0 |
virtual void | Release ()=0 |
virtual void | Reset ()=0 |
Public Attributes | |
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_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 |
|
override |
|
overridevirtual |
Implements RE::BSIInputDevice.
Reimplemented in RE::BSTrackedControllerDevice, and RE::BSOpenVRControllerDevice.
|
overridevirtual |
Implements RE::BSIInputDevice.
Reimplemented in RE::BSTrackedControllerDevice, and RE::BSOpenVRControllerDevice.
|
overridevirtual |
Implements RE::BSIInputDevice.
Reimplemented in RE::BSTrackedControllerDevice, and RE::BSOpenVRControllerDevice.
|
overridevirtual |
Implements RE::BSIInputDevice.
Reimplemented in RE::BSTrackedControllerDevice, and RE::BSOpenVRControllerDevice.
bool RE::BSInputDevice::IsGamepad | ( | ) | const |
bool RE::BSInputDevice::IsKeyboard | ( | ) | const |
bool RE::BSInputDevice::IsMouse | ( | ) | const |
bool RE::BSInputDevice::IsPressed | ( | std::uint32_t | a_keyCode | ) | const |
bool RE::BSInputDevice::LoadControlsDefinitionFile | ( | const char * | a_fileName | ) |
void RE::BSInputDevice::ResetButtonMaps | ( | ) |
void RE::BSInputDevice::SetButtonState | ( | std::uint32_t | a_buttonId, |
float | a_timeSinceLastPoll, | ||
bool | a_buttonWasPressed, | ||
bool | a_buttonIsPressed | ||
) |
BSTHashMap<BSFixedString, std::uint32_t> RE::BSInputDevice::buttonNameIDMap |
INPUT_DEVICE RE::BSInputDevice::device |
BSTHashMap<std::uint32_t, InputButton*> RE::BSInputDevice::deviceButtons |
std::uint32_t RE::BSInputDevice::pad0C |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |