CommonLibSSE (powerof3)
RE::BSInputDeviceManager Class Reference

#include <BSInputDeviceManager.h>

Inheritance diagram for RE::BSInputDeviceManager:
RE::BSTEventSource< InputEvent * > RE::BSTSingletonSDM< BSInputDeviceManager > RE::BSTSingletonSDMBase< Traits >

Public Member Functions

BSPCGamepadDeviceDelegateGetGamepad ()
 
BSPCGamepadDeviceHandlerGetGamepadHandler ()
 
BSWin32KeyboardDeviceGetKeyboard ()
 
BSWin32MouseDeviceGetMouse ()
 
BSWin32VirtualKeyboardDeviceGetVirtualKeyboard ()
 
bool IsGamepadConnected ()
 
bool IsGamepadEnabled ()
 
bool IsMouseBackground ()
 
bool GetDeviceKeyMapping (INPUT_DEVICE a_device, std::uint32_t a_key, BSFixedString &a_mapping)
 
bool GetDeviceMappedKeycode (INPUT_DEVICE a_device, std::uint32_t a_key, std::uint32_t &a_outKeyCode)
 
void ProcessGamepadEnabledChange ()
 
void ReinitializeMouse ()
 
void CreateInputDevices ()
 
void ResetInputDevices ()
 
void DestroyInputDevices ()
 
void PollInputDevices (float a_secsSinceLastFrame)
 
- Public Member Functions inherited from RE::BSTEventSource< InputEvent * >
 BSTEventSource ()
 
void AddEventSink (Sink *a_eventSink)
 
void AddEventSink (BSTEventSink< SinkEvent > *a_sink)
 
void RemoveEventSink (Sink *a_eventSink)
 
void SendEvent (const InputEvent * *a_event)
 
void operator() (const InputEvent * *a_event)
 

Static Public Member Functions

static BSInputDeviceManagerGetSingleton ()
 

Public Attributes

std::uint8_t pad59
 
std::uint16_t pad5A
 
std::uint32_t pad5C
 
BSIInputDevicedevices [INPUT_DEVICES::kTotal]
 
bool queuedGamepadEnableValue
 
bool valueQueued
 
bool pollingEnabled
 
std::uint8_t pad83
 
std::uint32_t pad84
 
BSTEventSource< BSRemoteGamepadEvent > remoteGamepadEventSource
 
std::uint8_t unkE0
 
std::uint8_t unkE1
 
std::uint16_t unkE2
 
std::uint32_t unkE4
 
std::uint64_t unkE8
 
- Public Attributes inherited from RE::BSTEventSource< InputEvent * >
BSTArray< Sink * > sinks
 
BSTArray< Sink * > pendingRegisters
 
BSTArray< Sink * > pendingUnregisters
 
BSSpinLock lock
 
bool notifying
 
std::uint8_t pad51
 
std::uint16_t pad52
 
std::uint32_t pad54
 

Additional Inherited Members

- Public Types inherited from RE::BSTEventSource< InputEvent * >
using Sink = BSTEventSink< InputEvent * >
 
- Public Types inherited from RE::BSTSingletonSDMBase< Traits >
using Type = typename Traits::Type
 
using Allocator = typename Traits::Allocator
 

Member Function Documentation

◆ CreateInputDevices()

void RE::BSInputDeviceManager::CreateInputDevices ( )

◆ DestroyInputDevices()

void RE::BSInputDeviceManager::DestroyInputDevices ( )

◆ GetDeviceKeyMapping()

bool RE::BSInputDeviceManager::GetDeviceKeyMapping ( INPUT_DEVICE  a_device,
std::uint32_t  a_key,
BSFixedString a_mapping 
)

◆ GetDeviceMappedKeycode()

bool RE::BSInputDeviceManager::GetDeviceMappedKeycode ( INPUT_DEVICE  a_device,
std::uint32_t  a_key,
std::uint32_t &  a_outKeyCode 
)

◆ GetGamepad()

BSPCGamepadDeviceDelegate* RE::BSInputDeviceManager::GetGamepad ( )

◆ GetGamepadHandler()

BSPCGamepadDeviceHandler* RE::BSInputDeviceManager::GetGamepadHandler ( )

◆ GetKeyboard()

BSWin32KeyboardDevice* RE::BSInputDeviceManager::GetKeyboard ( )

◆ GetMouse()

BSWin32MouseDevice* RE::BSInputDeviceManager::GetMouse ( )

◆ GetSingleton()

static BSInputDeviceManager* RE::BSInputDeviceManager::GetSingleton ( )
static

◆ GetVirtualKeyboard()

BSWin32VirtualKeyboardDevice* RE::BSInputDeviceManager::GetVirtualKeyboard ( )

◆ IsGamepadConnected()

bool RE::BSInputDeviceManager::IsGamepadConnected ( )

◆ IsGamepadEnabled()

bool RE::BSInputDeviceManager::IsGamepadEnabled ( )

◆ IsMouseBackground()

bool RE::BSInputDeviceManager::IsMouseBackground ( )

◆ PollInputDevices()

void RE::BSInputDeviceManager::PollInputDevices ( float  a_secsSinceLastFrame)

◆ ProcessGamepadEnabledChange()

void RE::BSInputDeviceManager::ProcessGamepadEnabledChange ( )

◆ ReinitializeMouse()

void RE::BSInputDeviceManager::ReinitializeMouse ( )

◆ ResetInputDevices()

void RE::BSInputDeviceManager::ResetInputDevices ( )

Member Data Documentation

◆ devices

BSIInputDevice* RE::BSInputDeviceManager::devices[INPUT_DEVICES::kTotal]

◆ pad59

std::uint8_t RE::BSInputDeviceManager::pad59

◆ pad5A

std::uint16_t RE::BSInputDeviceManager::pad5A

◆ pad5C

std::uint32_t RE::BSInputDeviceManager::pad5C

◆ pad83

std::uint8_t RE::BSInputDeviceManager::pad83

◆ pad84

std::uint32_t RE::BSInputDeviceManager::pad84

◆ pollingEnabled

bool RE::BSInputDeviceManager::pollingEnabled

◆ queuedGamepadEnableValue

bool RE::BSInputDeviceManager::queuedGamepadEnableValue

◆ remoteGamepadEventSource

BSTEventSource<BSRemoteGamepadEvent> RE::BSInputDeviceManager::remoteGamepadEventSource

◆ unkE0

std::uint8_t RE::BSInputDeviceManager::unkE0

◆ unkE1

std::uint8_t RE::BSInputDeviceManager::unkE1

◆ unkE2

std::uint16_t RE::BSInputDeviceManager::unkE2

◆ unkE4

std::uint32_t RE::BSInputDeviceManager::unkE4

◆ unkE8

std::uint64_t RE::BSInputDeviceManager::unkE8

◆ valueQueued

bool RE::BSInputDeviceManager::valueQueued

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