CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
BSInputDeviceManager.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTEvent.h"
4#include "RE/B/BSTSingleton.h"
5#include "RE/I/InputDevices.h"
6
7namespace RE
8{
9 class BSIInputDevice;
10 class BSPCGamepadDeviceDelegate;
11 class BSPCGamepadDeviceHandler;
12 class BSWin32KeyboardDevice;
13 class BSWin32MouseDevice;
14 class BSWin32VirtualKeyboardDevice;
15 class InputEvent;
16 struct BSRemoteGamepadEvent;
17
19 public BSTEventSource<InputEvent*>, // 00
20 public BSTSingletonSDM<BSInputDeviceManager> // 58
21 {
22 public:
24
32
33 // members
34 std::uint8_t pad59; // 59
35 std::uint16_t pad5A; // 5A
36 std::uint32_t pad5C; // 5C
37 BSIInputDevice* devices[INPUT_DEVICES::kTotal]; // 60
39 bool valueQueued; // 81
40 bool pollingEnabled; // 82
41 std::uint8_t pad83; // 83
42 std::uint32_t pad84; // 84
44 std::uint8_t unkE0; // E0
45 std::uint8_t unkE1; // E1
46 std::uint16_t unkE2; // E2
47 std::uint32_t unkE4; // E4
48 std::uint64_t unkE8; // E8
49 };
50 static_assert(sizeof(BSInputDeviceManager) == 0xF0);
51}
Definition: BSIInputDevice.h:8
Definition: BSInputDeviceManager.h:21
std::uint32_t unkE4
Definition: BSInputDeviceManager.h:47
std::uint32_t pad5C
Definition: BSInputDeviceManager.h:36
std::uint8_t pad83
Definition: BSInputDeviceManager.h:41
bool valueQueued
Definition: BSInputDeviceManager.h:39
std::uint8_t unkE1
Definition: BSInputDeviceManager.h:45
BSWin32KeyboardDevice * GetKeyboard()
BSWin32VirtualKeyboardDevice * GetVirtualKeyboard()
BSIInputDevice * devices[INPUT_DEVICES::kTotal]
Definition: BSInputDeviceManager.h:37
BSPCGamepadDeviceDelegate * GetGamepad()
BSWin32MouseDevice * GetMouse()
std::uint8_t unkE0
Definition: BSInputDeviceManager.h:44
bool queuedGamepadEnableValue
Definition: BSInputDeviceManager.h:38
std::uint32_t pad84
Definition: BSInputDeviceManager.h:42
bool pollingEnabled
Definition: BSInputDeviceManager.h:40
std::uint64_t unkE8
Definition: BSInputDeviceManager.h:48
BSPCGamepadDeviceHandler * GetGamepadHandler()
std::uint16_t unkE2
Definition: BSInputDeviceManager.h:46
BSTEventSource< BSRemoteGamepadEvent > remoteGamepadEventSource
Definition: BSInputDeviceManager.h:43
std::uint16_t pad5A
Definition: BSInputDeviceManager.h:35
static BSInputDeviceManager * GetSingleton()
std::uint8_t pad59
Definition: BSInputDeviceManager.h:34
Definition: BSPCGamepadDeviceDelegate.h:10
Definition: BSPCGamepadDeviceHandler.h:10
Definition: BSTEvent.h:28
Definition: BSWin32KeyboardDevice.h:8
Definition: BSWin32MouseDevice.h:9
Definition: BSWin32VirtualKeyboardDevice.h:8
Definition: AbsorbEffect.h:6
Definition: BSTSingleton.h:50