CommonLibSSE NG
Loading...
Searching...
No Matches
RE::BSPCOrbisGamepadDevice Class Reference

#include <BSPCOrbisGamepadDevice.h>

Inheritance diagram for RE::BSPCOrbisGamepadDevice:
RE::BSPCGamepadDeviceDelegate RE::BSGamepadDevice RE::BSInputDevice RE::BSTEventSource< BSGamepadEvent > RE::BSIInputDevice

Classes

struct  ButtonState
 
struct  GamepadData
 
struct  Keys
 
struct  PadTouch
 
struct  TouchPadData
 
struct  UnusedExtensionData
 
struct  Vector3
 
struct  Vector4
 

Public Types

using Key = Keys::Key
 
- Public Types inherited from RE::BSTEventSource< BSGamepadEvent >
using Sink = BSTEventSink< BSGamepadEvent >
 

Public Member Functions

 ~BSPCOrbisGamepadDevice () override
 
void Initialize () override
 
void Process (float a_arg1) override
 
void Release () override
 
void Reset () override
 
void SetRumble (float lValue, float rValue) override
 
void SetLEDColor (ColorParam *colorParam) override
 
void ResetLEDColor () override
 
void ProcessRawInput (int32_t a_rawX, int32_t a_rawY, float &a_outX, float &a_outY) override
 
void Unk_0E (void) override
 
ButtonState GetPreviousButtonState () const
 
ButtonState GetCurrentButtonState () const
 
- Public Member Functions inherited from RE::BSPCGamepadDeviceDelegate
 ~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 SetRumble (float a_lValue, float a_rValue)=0
 
virtual void SetLEDColor (ColorParam *a_colorParam)
 
virtual void ResetLEDColor ()
 
virtual void Unk_0C (void)
 
virtual void ProcessRawInput (int32_t a_rawX, int32_t a_rawY, float &a_outX, float &a_outY)
 
virtual void Unk_0E (void)
 
- 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
 
- 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

GamepadData previousPadState
 
float previousLT
 
float previousRT
 
float previousLX
 
float previousLY
 
float previousRX
 
float previousRY
 
GamepadData currentPadState
 
float currentLT
 
float currentRT
 
float currentLX
 
float currentLY
 
float currentRX
 
float currentRY
 
- Public Attributes inherited from RE::BSPCGamepadDeviceDelegate
BSPCGamepadDeviceHandlergamepadDeviceHandler
 
- 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_BSPCOrbisGamepadDevice
 
static constexpr auto VTABLE = VTABLE_BSPCOrbisGamepadDevice
 
- Static Public Attributes inherited from RE::BSPCGamepadDeviceDelegate
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

 BSPCOrbisGamepadDevice ()
 
- Protected Member Functions inherited from RE::BSPCGamepadDeviceDelegate
 BSPCGamepadDeviceDelegate ()
 
- Protected Member Functions inherited from RE::BSGamepadDevice
 BSGamepadDevice ()
 
- Protected Member Functions inherited from RE::BSInputDevice
 BSInputDevice ()
 
- Protected Member Functions inherited from RE::BSIInputDevice
 TES_HEAP_REDEFINE_NEW ()
 
 BSIInputDevice ()=default
 

Friends

class BSGamepadDeviceHandler
 

Member Typedef Documentation

◆ Key

Constructor & Destructor Documentation

◆ ~BSPCOrbisGamepadDevice()

RE::BSPCOrbisGamepadDevice::~BSPCOrbisGamepadDevice ( )
override

◆ BSPCOrbisGamepadDevice()

RE::BSPCOrbisGamepadDevice::BSPCOrbisGamepadDevice ( )
protected

Member Function Documentation

◆ GetCurrentButtonState()

ButtonState RE::BSPCOrbisGamepadDevice::GetCurrentButtonState ( ) const
inline

◆ GetPreviousButtonState()

ButtonState RE::BSPCOrbisGamepadDevice::GetPreviousButtonState ( ) const
inline

◆ Initialize()

void RE::BSPCOrbisGamepadDevice::Initialize ( )
overridevirtual

Reimplemented from RE::BSPCGamepadDeviceDelegate.

◆ Process()

void RE::BSPCOrbisGamepadDevice::Process ( float  a_arg1)
overridevirtual

Reimplemented from RE::BSPCGamepadDeviceDelegate.

◆ ProcessRawInput()

void RE::BSPCOrbisGamepadDevice::ProcessRawInput ( int32_t  a_rawX,
int32_t  a_rawY,
float &  a_outX,
float &  a_outY 
)
overridevirtual

Reimplemented from RE::BSGamepadDevice.

◆ Release()

void RE::BSPCOrbisGamepadDevice::Release ( )
overridevirtual

Reimplemented from RE::BSPCGamepadDeviceDelegate.

◆ Reset()

void RE::BSPCOrbisGamepadDevice::Reset ( )
overridevirtual

Reimplemented from RE::BSPCGamepadDeviceDelegate.

◆ ResetLEDColor()

void RE::BSPCOrbisGamepadDevice::ResetLEDColor ( )
overridevirtual

Reimplemented from RE::BSGamepadDevice.

◆ SetLEDColor()

void RE::BSPCOrbisGamepadDevice::SetLEDColor ( ColorParam colorParam)
overridevirtual

Reimplemented from RE::BSGamepadDevice.

◆ SetRumble()

void RE::BSPCOrbisGamepadDevice::SetRumble ( float  lValue,
float  rValue 
)
overridevirtual

Reimplemented from RE::BSPCGamepadDeviceDelegate.

◆ Unk_0E()

void RE::BSPCOrbisGamepadDevice::Unk_0E ( void  )
overridevirtual

Reimplemented from RE::BSGamepadDevice.

Friends And Related Symbol Documentation

◆ BSGamepadDeviceHandler

friend class BSGamepadDeviceHandler
friend

Member Data Documentation

◆ currentLT

float RE::BSPCOrbisGamepadDevice::currentLT

◆ currentLX

float RE::BSPCOrbisGamepadDevice::currentLX

◆ currentLY

float RE::BSPCOrbisGamepadDevice::currentLY

◆ currentPadState

GamepadData RE::BSPCOrbisGamepadDevice::currentPadState

◆ currentRT

float RE::BSPCOrbisGamepadDevice::currentRT

◆ currentRX

float RE::BSPCOrbisGamepadDevice::currentRX

◆ currentRY

float RE::BSPCOrbisGamepadDevice::currentRY

◆ previousLT

float RE::BSPCOrbisGamepadDevice::previousLT

◆ previousLX

float RE::BSPCOrbisGamepadDevice::previousLX

◆ previousLY

float RE::BSPCOrbisGamepadDevice::previousLY

◆ previousPadState

GamepadData RE::BSPCOrbisGamepadDevice::previousPadState

◆ previousRT

float RE::BSPCOrbisGamepadDevice::previousRT

◆ previousRX

float RE::BSPCOrbisGamepadDevice::previousRX

◆ previousRY

float RE::BSPCOrbisGamepadDevice::previousRY

◆ RTTI

constexpr auto RE::BSPCOrbisGamepadDevice::RTTI = RTTI_BSPCOrbisGamepadDevice
inlinestaticconstexpr

◆ VTABLE

constexpr auto RE::BSPCOrbisGamepadDevice::VTABLE = VTABLE_BSPCOrbisGamepadDevice
inlinestaticconstexpr

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