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
{
7
class
BSIInputDevice
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
}
BSFixedString.h
RE::BSIInputDevice
Definition:
BSIInputDevice.h:8
RE::BSIInputDevice::GetMappingKey
virtual std::uint32_t GetMappingKey(BSFixedString a_mapping)=0
RE::BSIInputDevice::IsEnabled
virtual bool IsEnabled() const =0
RE::BSIInputDevice::Initialize
virtual void Initialize()=0
RE::BSIInputDevice::Poll
virtual void Poll(float a_timeDelta)=0
RE::BSIInputDevice::GetKeyCodeFromID
virtual bool GetKeyCodeFromID(std::int32_t a_id, std::uint32_t &a_keyCode)=0
RE::BSIInputDevice::GetButtonNameFromID
virtual bool GetButtonNameFromID(std::int32_t a_id, BSFixedString &a_buttonName)=0
RE::BSIInputDevice::~BSIInputDevice
virtual ~BSIInputDevice()
RE::BSIInputDevice::Shutdown
virtual void Shutdown()=0
RE::BSIInputDevice::RTTI
static constexpr auto RTTI
Definition:
BSIInputDevice.h:10
RE::BSIInputDevice::ClearInputState
virtual void ClearInputState()=0
RE::detail::BSFixedString< char >
RE
Definition:
AbsorbEffect.h:6
RE::RTTI_BSIInputDevice
constexpr REL::ID RTTI_BSIInputDevice
Definition:
Offsets_RTTI.h:1729
CommonLibSSE
include
RE
B
BSIInputDevice.h
Generated by
1.9.1