CommonLibSSE NG
Loading...
Searching...
No Matches
BSIInputDevice.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace RE
7{
9 {
10 public:
11 inline static constexpr auto RTTI = RTTI_BSIInputDevice;
12 inline static constexpr auto VTABLE = VTABLE_BSIInputDevice;
13
14 virtual ~BSIInputDevice() = default; // 00
15
16 // add
17 virtual void Initialize() = 0; // 01
18 virtual void Process(float a_arg1) = 0; // 02
19 virtual void Release() = 0; // 03
20 virtual bool GetKeyMapping(std::uint32_t a_key, BSFixedString& a_mapping) = 0; // 04
21 virtual std::uint32_t GetMappingKey(BSFixedString a_mapping) = 0; // 05
22 virtual bool GetMappedKeycode(std::uint32_t a_key, std::uint32_t& outKeyCode) = 0; // 06
23 [[nodiscard]] virtual bool IsEnabled() const = 0; // 07
24 virtual void Reset() = 0; // 08
25
26 protected:
29 BSIInputDevice() = default;
30 };
31 static_assert(sizeof(BSIInputDevice) == 0x8);
32}
Definition BSIInputDevice.h:9
static constexpr auto VTABLE
Definition BSIInputDevice.h:12
virtual std::uint32_t GetMappingKey(BSFixedString a_mapping)=0
virtual bool GetKeyMapping(std::uint32_t a_key, BSFixedString &a_mapping)=0
virtual void Reset()=0
virtual bool IsEnabled() const =0
virtual void Release()=0
virtual void Initialize()=0
virtual bool GetMappedKeycode(std::uint32_t a_key, std::uint32_t &outKeyCode)=0
virtual void Process(float a_arg1)=0
virtual ~BSIInputDevice()=default
static constexpr auto RTTI
Definition BSIInputDevice.h:11
BSIInputDevice()=default
Definition BSInputDeviceFactory.h:9
Definition AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_BSIInputDevice
Definition Offsets_VTABLE.h:5431
constexpr REL::VariantID RTTI_BSIInputDevice(690307, 398162, 0x1f5fc98)