Reformatted gamepad patch

This commit is contained in:
Jan 2021-08-21 15:20:26 +02:00
parent d4d1520f65
commit ea8c35e063
2 changed files with 646 additions and 611 deletions

File diff suppressed because it is too large Load Diff

View File

@ -8,8 +8,8 @@ namespace Components
static constexpr float TRIGGER_THRESHOLD_F = static_cast<float>(XINPUT_GAMEPAD_TRIGGER_THRESHOLD) / static_cast<float>(0xFF); static constexpr float TRIGGER_THRESHOLD_F = static_cast<float>(XINPUT_GAMEPAD_TRIGGER_THRESHOLD) / static_cast<float>(0xFF);
public: public:
Gamepad(); Gamepad();
enum GamePadStickDir enum GamePadStickDir
{ {
GPAD_STICK_POS = 0x0, GPAD_STICK_POS = 0x0,
@ -17,7 +17,7 @@ namespace Components
GPAD_STICK_DIR_COUNT GPAD_STICK_DIR_COUNT
}; };
struct GamePad struct GamePad
{ {
bool enabled; bool enabled;