Input: Add cycling between game specific profiles

This commit is contained in:
iwubcode
2018-04-17 00:43:56 -05:00
parent 3969bf6d1c
commit 485285eadc
7 changed files with 107 additions and 3 deletions

View File

@ -245,6 +245,11 @@ void HotkeyScheduler::Run()
else if (IsHotkey(HK_NEXT_WIIMOTE_PROFILE))
m_profile_cycler.NextWiimoteProfile();
if (IsHotkey(HK_PREV_GAME_WIIMOTE_PROFILE))
m_profile_cycler.PreviousWiimoteProfileForGame();
else if (IsHotkey(HK_NEXT_GAME_WIIMOTE_PROFILE))
m_profile_cycler.NextWiimoteProfileForGame();
const auto show_msg = [](OSDMessage message) {
if (g_renderer)
g_renderer->ShowOSDMessage(message);