CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
BSGamepadDevice.h
Go to the documentation of this file.
1#pragma once
2
4#include "RE/B/BSTEvent.h"
5
6namespace RE
7{
8 struct BSGamepadEvent;
9
11 public BSInputDevice, // 00
12 public BSTEventSource<BSGamepadEvent> // 70
13 {
14 public:
15 inline static constexpr auto RTTI = RTTI_BSGamepadDevice;
16
17 ~BSGamepadDevice() override; // 00
18
19 // override (BSInputDevice)
20 bool IsEnabled() const override; // 07 - { return connected && userIndex != -1; }
21
22 // add
23 virtual void Unk_09(void) = 0; // 09
24 virtual void Unk_0A(void); // 0A - { return; }
25 virtual void Unk_0B(void); // 0B - { return; }
26 virtual void Unk_0C(void); // 0C - { return 0; }
27 virtual void Unk_0D(void); // 0D
28 virtual void Unk_0E(void); // 0E - { return; }
29
30 // members
31 std::int32_t userIndex; // C8
32 bool connected; // CC
34 std::uint16_t padCE; // CE
35 };
36 static_assert(sizeof(BSGamepadDevice) == 0xD0);
37}
Definition: BSGamepadDevice.h:13
virtual void Unk_0C(void)
virtual void Unk_0D(void)
bool IsEnabled() const override
std::uint16_t padCE
Definition: BSGamepadDevice.h:34
bool listeningForInput
Definition: BSGamepadDevice.h:33
std::int32_t userIndex
Definition: BSGamepadDevice.h:31
static constexpr auto RTTI
Definition: BSGamepadDevice.h:15
~BSGamepadDevice() override
virtual void Unk_0A(void)
bool connected
Definition: BSGamepadDevice.h:32
virtual void Unk_09(void)=0
virtual void Unk_0B(void)
virtual void Unk_0E(void)
Definition: BSInputDevice.h:11
Definition: BSTEvent.h:28
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSGamepadDevice
Definition: Offsets_RTTI.h:1718