CommonLibVR
|
#include <BSPCGamepadDeviceDelegate.h>
Public Member Functions | |
~BSPCGamepadDeviceDelegate () override | |
void | Initialize () override |
void | Process (float a_arg1) override |
void | Release () override |
void | Reset () override |
void | SetRumble (float a_lValue, float a_rValue) override |
Public Member Functions inherited from RE::BSGamepadDevice | |
~BSGamepadDevice () override | |
bool | IsEnabled () const override |
virtual void | SetLEDColor (ColorParam *a_colorParam) |
virtual void | ResetLEDColor () |
virtual void | IsRemoteController (void) |
virtual void | NormalizeThumbstickValue (int a_thumbX, int a_thumbY, float &a_xOut, float &a_yOut) |
virtual void | DoEnableListeningMode (void) |
Public Member Functions inherited from RE::BSInputDevice | |
~BSInputDevice () override | |
bool | GetButtonNameFromID (std::int32_t a_id, BSFixedString &a_buttonName) override |
std::uint32_t | GetMappingKey (BSFixedString a_mapping) override |
bool | GetKeyCodeFromID (std::int32_t a_id, std::uint32_t &a_keyCode) 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 Member Functions inherited from RE::BSTEventSource< BSGamepadEvent > | |
BSTEventSource () | |
void | AddEventSink (Sink *a_eventSink) |
void | AddEventSink (BSTEventSink< SinkEvent > *a_sink) |
void | RemoveEventSink (Sink *a_eventSink) |
void | SendEvent (const BSGamepadEvent *a_event) |
void | operator() (const BSGamepadEvent *a_event) |
Public Attributes | |
BSPCGamepadDeviceHandler * | gamepadDeviceHandler |
Public Attributes inherited from RE::BSGamepadDevice | |
std::int32_t | userIndex |
bool | connected |
bool | listeningForInput |
std::uint16_t | padCE |
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 |
Public Attributes inherited from RE::BSTEventSource< BSGamepadEvent > | |
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 |
Static Public Attributes | |
static constexpr auto | RTTI = RTTI_BSPCGamepadDeviceDelegate |
static constexpr auto | VTABLE = VTABLE_BSPCGamepadDeviceDelegate |
Static Public Attributes inherited from RE::BSGamepadDevice | |
static constexpr auto | RTTI = RTTI_BSGamepadDevice |
static constexpr auto | VTABLE = VTABLE_BSGamepadDevice |
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 | |
BSPCGamepadDeviceDelegate () | |
Protected Member Functions inherited from RE::BSGamepadDevice | |
BSGamepadDevice () | |
Friends | |
class | BSGamepadDeviceHandler |
Additional Inherited Members | |
Public Types inherited from RE::BSTEventSource< BSGamepadEvent > | |
using | Sink = BSTEventSink< BSGamepadEvent > |
|
override |
|
protected |
|
overridevirtual |
Implements RE::BSIInputDevice.
Reimplemented in RE::BSWin32GamepadDevice, and RE::BSPCOrbisGamepadDevice.
|
overridevirtual |
Implements RE::BSIInputDevice.
Reimplemented in RE::BSWin32GamepadDevice, and RE::BSPCOrbisGamepadDevice.
|
overridevirtual |
Implements RE::BSIInputDevice.
Reimplemented in RE::BSWin32GamepadDevice, and RE::BSPCOrbisGamepadDevice.
|
overridevirtual |
Implements RE::BSIInputDevice.
Reimplemented in RE::BSWin32GamepadDevice, and RE::BSPCOrbisGamepadDevice.
|
overridevirtual |
Implements RE::BSGamepadDevice.
Reimplemented in RE::BSWin32GamepadDevice, and RE::BSPCOrbisGamepadDevice.
|
friend |
BSPCGamepadDeviceHandler* RE::BSPCGamepadDeviceDelegate::gamepadDeviceHandler |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |