mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-26 04:37:50 -05:00
Tilt: Use std::array for m_tilt
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <string>
|
||||
#include "InputCommon/ControllerEmu/ControlGroup/ControlGroup.h"
|
||||
|
||||
@@ -17,6 +18,6 @@ public:
|
||||
void GetState(ControlState* x, ControlState* y, bool step = true);
|
||||
|
||||
private:
|
||||
ControlState m_tilt[2];
|
||||
std::array<ControlState, 2> m_tilt{};
|
||||
};
|
||||
} // namespace ControllerEmu
|
||||
|
||||
Reference in New Issue
Block a user