Qt/Input: enable XInput configs with disconnected devices

This commit is contained in:
Megamouse 2018-01-16 14:07:57 +01:00 committed by Ivan
parent c5755b3633
commit d6c4d8eec0
4 changed files with 32 additions and 6 deletions

View file

@ -248,6 +248,11 @@ std::tuple<u16, u16> PadHandlerBase::ConvertToSquirclePoint(u16 inX, u16 inY, in
return std::tuple<u16, u16>(newX, newY);
}
int PadHandlerBase::max_devices()
{
return m_max_devices;
}
bool PadHandlerBase::has_config()
{
return b_has_config;