InputCommon: Expose XInput battery level as an input.

This commit is contained in:
Jordan Woyak
2020-02-08 15:02:54 -06:00
parent e323f47ceb
commit 86e8745169
2 changed files with 39 additions and 3 deletions

View File

@ -97,9 +97,10 @@ public:
void UpdateMotors();
private:
XINPUT_STATE m_state_in;
XINPUT_STATE m_state_in{};
XINPUT_VIBRATION m_state_out{};
XINPUT_VIBRATION m_current_state_out{};
ControlState m_battery_level{};
const BYTE m_subtype;
const u8 m_index;
};