CommonLibSSE NG
Loading...
Searching...
No Matches
BSOpenVRControllerDevice.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace RE
6{
8 {
9 public:
10#if !defined(ENABLE_SKYRIM_AE) && !defined(ENABLE_SKYRIM_SE)
11 inline static constexpr auto RTTI = RTTI_BSOpenVRControllerDevice;
12#endif
13
15
16 // override BSIInputDevice
17 void Initialize() override; // 01
18 void Process(float a_arg1) override; // 02
19 void Release() override; // 03 - { return; }
20 bool GetKeyMapping(std::uint32_t a_key, BSFixedString& a_mapping) override; // 04
21 std::uint32_t GetMappingKey(BSFixedString a_mapping) override; // 05
22 bool GetMappedKeycode(std::uint32_t a_key, std::uint32_t& outKeyCode) override; // 06
23 [[nodiscard]] bool IsEnabled() const override; // 07 - { return true; }
24 void Reset() override; // 08
25
26 private:
27#if !defined(ENABLE_SKYRIM_AE) && !defined(ENABLE_SKYRIM_SE)
28 uint8_t unk70[0xBC]; // 78
29 uint64_t unk134; // 134
30 uint64_t unk138; // 13C
31 uint32_t unk140; // 144
32 uint32_t unk144; // 148
33 uint32_t unk148{ 4 }; // 14C
34#endif
35 };
36#if !defined(ENABLE_SKYRIM_AE) && !defined(ENABLE_SKYRIM_SE)
37 static_assert(sizeof(BSOpenVRControllerDevice) == 0x150);
38#endif
39}
Definition BSOpenVRControllerDevice.h:8
std::uint32_t GetMappingKey(BSFixedString a_mapping) override
bool GetKeyMapping(std::uint32_t a_key, BSFixedString &a_mapping) override
void Process(float a_arg1) override
bool IsEnabled() const override
static constexpr auto RTTI
Definition BSOpenVRControllerDevice.h:11
bool GetMappedKeycode(std::uint32_t a_key, std::uint32_t &outKeyCode) override
Definition BSTrackedControllerDevice.h:9
Definition AbsorbEffect.h:6
constexpr REL::VariantOffset RTTI_BSOpenVRControllerDevice(0, 0, 0x1f5ff28)