Input: Add hotkey to cycle the wiimote profile forward or backward

Co-authored-by:  Barath Kannan <barathsotd@gmail.com>
This commit is contained in:
iwubcode 2018-04-13 23:51:32 -05:00
commit 3969bf6d1c
16 changed files with 237 additions and 0 deletions

View file

@ -128,6 +128,11 @@ bool InputConfig::ControllersNeedToBeCreated() const
return m_controllers.empty();
}
std::size_t InputConfig::GetControllerCount() const
{
return m_controllers.size();
}
bool InputConfig::IsControllerControlledByGamepadDevice(int index) const
{
if (static_cast<size_t>(index) >= m_controllers.size())