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

#include <BSInputEventQueue.h>

Inheritance diagram for RE::BSInputEventQueue:
RE::BSTSingletonSDM< BSInputEventQueue > RE::BSTSingletonSDMBase< Traits >

Public Member Functions

void AddButtonEvent (INPUT_DEVICE a_device, std::int32_t a_id, float a_value, float a_duration)
 
void AddCharEvent (std::uint32_t a_keyCode)
 
void AddMouseMoveEvent (std::int32_t a_mouseInputX, std::int32_t a_mouseInputY)
 
void AddThumbstickEvent (ThumbstickEvent::InputType a_id, float a_xValue, float a_yValue)
 
void AddConnectEvent (INPUT_DEVICE a_device, bool a_connected)
 
void AddKinectEvent (const BSFixedString &a_userEvent, const BSFixedString &a_heard)
 
void PushOntoInputQueue (InputEvent *a_event)
 
void ClearInputQueue ()
 

Static Public Member Functions

static BSInputEventQueueGetSingleton ()
 

Public Attributes

std::uint8_t pad001
 
std::uint16_t pad002
 
std::uint32_t buttonEventCount
 
std::uint32_t charEventCount
 
std::uint32_t mouseEventCount
 
std::uint32_t thumbstickEventCount
 
std::uint32_t connectEventCount
 
std::uint32_t kinectEventCount
 
std::uint32_t pad01C
 
ButtonEvent buttonEvents [MAX_BUTTON_EVENTS]
 
CharEvent charEvents [MAX_CHAR_EVENTS]
 
MouseMoveEvent mouseEvents [MAX_MOUSE_EVENTS]
 
ThumbstickEvent thumbstickEvents [MAX_THUMBSTICK_EVENTS]
 
DeviceConnectEvent connectEvents [MAX_CONNECT_EVENTS]
 
KinectEvent kinectEvents [MAX_KINECT_EVENTS]
 
InputEventqueueHead
 
InputEventqueueTail
 

Static Public Attributes

static constexpr std::uint8_t MAX_BUTTON_EVENTS = 10
 
static constexpr std::uint8_t MAX_CHAR_EVENTS = 5
 
static constexpr std::uint8_t MAX_MOUSE_EVENTS = 1
 
static constexpr std::uint8_t MAX_THUMBSTICK_EVENTS = 2
 
static constexpr std::uint8_t MAX_CONNECT_EVENTS = 1
 
static constexpr std::uint8_t MAX_KINECT_EVENTS = 1
 

Additional Inherited Members

- Public Types inherited from RE::BSTSingletonSDMBase< Traits >
using Type = typename Traits::Type
 
using Allocator = typename Traits::Allocator
 

Member Function Documentation

◆ AddButtonEvent()

void RE::BSInputEventQueue::AddButtonEvent ( INPUT_DEVICE  a_device,
std::int32_t  a_id,
float  a_value,
float  a_duration 
)

◆ AddCharEvent()

void RE::BSInputEventQueue::AddCharEvent ( std::uint32_t  a_keyCode)

◆ AddConnectEvent()

void RE::BSInputEventQueue::AddConnectEvent ( INPUT_DEVICE  a_device,
bool  a_connected 
)

◆ AddKinectEvent()

void RE::BSInputEventQueue::AddKinectEvent ( const BSFixedString a_userEvent,
const BSFixedString a_heard 
)

◆ AddMouseMoveEvent()

void RE::BSInputEventQueue::AddMouseMoveEvent ( std::int32_t  a_mouseInputX,
std::int32_t  a_mouseInputY 
)

◆ AddThumbstickEvent()

void RE::BSInputEventQueue::AddThumbstickEvent ( ThumbstickEvent::InputType  a_id,
float  a_xValue,
float  a_yValue 
)

◆ ClearInputQueue()

void RE::BSInputEventQueue::ClearInputQueue ( )

◆ GetSingleton()

static BSInputEventQueue * RE::BSInputEventQueue::GetSingleton ( )
static

◆ PushOntoInputQueue()

void RE::BSInputEventQueue::PushOntoInputQueue ( InputEvent a_event)

Member Data Documentation

◆ buttonEventCount

std::uint32_t RE::BSInputEventQueue::buttonEventCount

◆ buttonEvents

ButtonEvent RE::BSInputEventQueue::buttonEvents[MAX_BUTTON_EVENTS]

◆ charEventCount

std::uint32_t RE::BSInputEventQueue::charEventCount

◆ charEvents

CharEvent RE::BSInputEventQueue::charEvents[MAX_CHAR_EVENTS]

◆ connectEventCount

std::uint32_t RE::BSInputEventQueue::connectEventCount

◆ connectEvents

DeviceConnectEvent RE::BSInputEventQueue::connectEvents[MAX_CONNECT_EVENTS]

◆ kinectEventCount

std::uint32_t RE::BSInputEventQueue::kinectEventCount

◆ kinectEvents

KinectEvent RE::BSInputEventQueue::kinectEvents[MAX_KINECT_EVENTS]

◆ MAX_BUTTON_EVENTS

constexpr std::uint8_t RE::BSInputEventQueue::MAX_BUTTON_EVENTS = 10
inlinestaticconstexpr

◆ MAX_CHAR_EVENTS

constexpr std::uint8_t RE::BSInputEventQueue::MAX_CHAR_EVENTS = 5
inlinestaticconstexpr

◆ MAX_CONNECT_EVENTS

constexpr std::uint8_t RE::BSInputEventQueue::MAX_CONNECT_EVENTS = 1
inlinestaticconstexpr

◆ MAX_KINECT_EVENTS

constexpr std::uint8_t RE::BSInputEventQueue::MAX_KINECT_EVENTS = 1
inlinestaticconstexpr

◆ MAX_MOUSE_EVENTS

constexpr std::uint8_t RE::BSInputEventQueue::MAX_MOUSE_EVENTS = 1
inlinestaticconstexpr

◆ MAX_THUMBSTICK_EVENTS

constexpr std::uint8_t RE::BSInputEventQueue::MAX_THUMBSTICK_EVENTS = 2
inlinestaticconstexpr

◆ mouseEventCount

std::uint32_t RE::BSInputEventQueue::mouseEventCount

◆ mouseEvents

MouseMoveEvent RE::BSInputEventQueue::mouseEvents[MAX_MOUSE_EVENTS]

◆ pad001

std::uint8_t RE::BSInputEventQueue::pad001

◆ pad002

std::uint16_t RE::BSInputEventQueue::pad002

◆ pad01C

std::uint32_t RE::BSInputEventQueue::pad01C

◆ queueHead

InputEvent* RE::BSInputEventQueue::queueHead

◆ queueTail

InputEvent* RE::BSInputEventQueue::queueTail

◆ thumbstickEventCount

std::uint32_t RE::BSInputEventQueue::thumbstickEventCount

◆ thumbstickEvents

ThumbstickEvent RE::BSInputEventQueue::thumbstickEvents[MAX_THUMBSTICK_EVENTS]

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