CommonLibSSE (powerof3)
BSPCGamepadDeviceHandler.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSIInputDevice.h"
4 
5 namespace RE
6 {
7  class BSPCGamepadDeviceDelegate;
8 
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_BSPCGamepadDeviceHandler;
13 
14  ~BSPCGamepadDeviceHandler() override; // 00
15 
16  // override (BSIInputDevice)
17  void Initialize() override; // 01
18  void Process(float a_unk1) override; // 02
19  void Unk_03() override; // 03
20  bool GetKeyMapping(std::uint32_t a_key, BSFixedString& a_mapping) override; // 04
21  std::uint32_t GetMappingKey(BSFixedString a_mapping) override; // 05
22  void Unk_06() override; // 06
23  bool IsEnabled() const override; // 07 - { return currentPCGamePadDelegate != 0; }
24  void Reset() override; // 08
25 
26  // members
28  };
29  static_assert(sizeof(BSPCGamepadDeviceHandler) == 0x10);
30 }
Definition: BSIInputDevice.h:8
Definition: BSPCGamepadDeviceDelegate.h:10
Definition: BSPCGamepadDeviceHandler.h:10
bool IsEnabled() const override
BSPCGamepadDeviceDelegate * currentPCGamePadDelegate
Definition: BSPCGamepadDeviceHandler.h:27
static constexpr auto RTTI
Definition: BSPCGamepadDeviceHandler.h:12
std::uint32_t GetMappingKey(BSFixedString a_mapping) override
void Process(float a_unk1) override
bool GetKeyMapping(std::uint32_t a_key, BSFixedString &a_mapping) override
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSPCGamepadDeviceHandler
Definition: Offsets_RTTI.h:1979