CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
ThumbstickEvent.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/I/IDEvent.h"
4
5namespace RE
6{
7 class ThumbstickEvent : public IDEvent
8 {
9 public:
10 inline static constexpr auto RTTI = RTTI_ThumbstickEvent;
11
13 {
14 enum InputType : std::uint32_t
15 {
17 kRightThumbstick = 0x0C
18 };
19 };
21
22 [[nodiscard]] bool IsLeft() const;
23 [[nodiscard]] bool IsRight() const;
24
25 // members
26 float xValue; // 28
27 float yValue; // 2C
28 };
29 static_assert(sizeof(ThumbstickEvent) == 0x30);
30}
Definition: IDEvent.h:9
Definition: ThumbstickEvent.h:8
float yValue
Definition: ThumbstickEvent.h:27
static constexpr auto RTTI
Definition: ThumbstickEvent.h:10
bool IsLeft() const
bool IsRight() const
float xValue
Definition: ThumbstickEvent.h:26
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ThumbstickEvent
Definition: Offsets_RTTI.h:6104
Definition: ThumbstickEvent.h:13
InputType
Definition: ThumbstickEvent.h:15
@ kRightThumbstick
Definition: ThumbstickEvent.h:17
@ kLeftThumbstick
Definition: ThumbstickEvent.h:16