CommonLibSSE (Parapets fork)
BSIInputDevice.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSFixedString.h"
4 
5 namespace RE
6 {
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_BSIInputDevice;
11 
12  virtual ~BSIInputDevice(); // 00
13 
14  // add
15  virtual void Initialize() = 0; // 01
16  virtual void Poll(float a_timeDelta) = 0; // 02
17  virtual void Shutdown() = 0; // 03
18  virtual bool GetButtonNameFromID(std::int32_t a_id, BSFixedString& a_buttonName) = 0; // 04
19  virtual std::uint32_t GetMappingKey(BSFixedString a_mapping) = 0; // 05
20  virtual bool GetKeyCodeFromID(std::int32_t a_id, std::uint32_t& a_keyCode) = 0; // 06
21  [[nodiscard]] virtual bool IsEnabled() const = 0; // 07
22  virtual void ClearInputState() = 0; // 08
23  };
24  static_assert(sizeof(BSIInputDevice) == 0x8);
25 }
Definition: BSIInputDevice.h:8
virtual std::uint32_t GetMappingKey(BSFixedString a_mapping)=0
virtual bool IsEnabled() const =0
virtual void Initialize()=0
virtual void Poll(float a_timeDelta)=0
virtual bool GetKeyCodeFromID(std::int32_t a_id, std::uint32_t &a_keyCode)=0
virtual bool GetButtonNameFromID(std::int32_t a_id, BSFixedString &a_buttonName)=0
virtual ~BSIInputDevice()
virtual void Shutdown()=0
static constexpr auto RTTI
Definition: BSIInputDevice.h:10
virtual void ClearInputState()=0
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSIInputDevice
Definition: Offsets_RTTI.h:1729