CommonLibSSE NG
Loading...
Searching...
No Matches
BSWin32MouseDevice.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSAtomic.h"
5
6namespace RE
7{
9 {
10 public:
11 inline static constexpr auto RTTI = RTTI_BSWin32MouseDevice;
12 inline static constexpr auto VTABLE = VTABLE_BSWin32MouseDevice;
13
14 struct Keys
15 {
16 enum Key : std::uint32_t
17 {
28 };
29 };
30 using Key = Keys::Key;
31
32 ~BSWin32MouseDevice() override; // 00
33
34 // override (BSMouseDevice)
35 void Initialize() override; // 01
36 void Process(float a_arg1) override; // 02
37 void Release() override; // 03
38 void Reset() override; // 08
39 void Reinitialize(void) override; // 09
40
41 // members
42 DirectInput8::IDirectInputDevice8A* dInputDevice; // 78
45 bool notInitialized; // A8
47
48 protected:
50 };
51 static_assert(sizeof(BSWin32MouseDevice) == 0xB8);
52}
Definition BSMouseDevice.h:8
Definition BSAtomic.h:49
Definition BSWin32MouseDevice.h:9
DirectInput8::DIMOUSESTATE2 dInputPrevState
Definition BSWin32MouseDevice.h:43
void Reset() override
void Initialize() override
static constexpr auto VTABLE
Definition BSWin32MouseDevice.h:12
~BSWin32MouseDevice() override
void Reinitialize(void) override
void Process(float a_arg1) override
BSSpinLock reinitializeLock
Definition BSWin32MouseDevice.h:46
DirectInput8::DIMOUSESTATE2 dInputNextState
Definition BSWin32MouseDevice.h:44
bool notInitialized
Definition BSWin32MouseDevice.h:45
void Release() override
DirectInput8::IDirectInputDevice8A * dInputDevice
Definition BSWin32MouseDevice.h:42
static constexpr auto RTTI
Definition BSWin32MouseDevice.h:11
Definition AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_BSWin32MouseDevice
Definition Offsets_VTABLE.h:5436
constexpr REL::VariantID RTTI_BSWin32MouseDevice(690313, 398168, 0x1f5fda8)
Definition BSWin32MouseDevice.h:15
Key
Definition BSWin32MouseDevice.h:17
@ kMiddleButton
Definition BSWin32MouseDevice.h:20
@ kButton7
Definition BSWin32MouseDevice.h:25
@ kWheelUp
Definition BSWin32MouseDevice.h:26
@ kButton6
Definition BSWin32MouseDevice.h:24
@ kButton5
Definition BSWin32MouseDevice.h:23
@ kRightButton
Definition BSWin32MouseDevice.h:19
@ kButton3
Definition BSWin32MouseDevice.h:21
@ kLeftButton
Definition BSWin32MouseDevice.h:18
@ kWheelDown
Definition BSWin32MouseDevice.h:27
@ kButton4
Definition BSWin32MouseDevice.h:22
Definition DInputAPI.h:206