mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-03-23 20:58:42 -04:00
Only show config button on Linux/Android
This commit is contained in:
parent
fae899926f
commit
d1e7d6f1e2
@ -58,7 +58,11 @@ int GamepadInputController::getNumberOfAxes() const
|
||||
bool GamepadInputController::supportsConfiguration() const
|
||||
{
|
||||
// Should only return true on Linux evdev or Android
|
||||
return QGamepadManager::instance()->isConfigurationNeeded(m_gamepad.deviceId());
|
||||
#if defined(LINUX) || defined(ANDROID)
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
void GamepadInputController::configure()
|
||||
|
Loading…
Reference in New Issue
Block a user