mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-08-11 10:12:37 -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
|
bool GamepadInputController::supportsConfiguration() const
|
||||||
{
|
{
|
||||||
// Should only return true on Linux evdev or Android
|
// 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()
|
void GamepadInputController::configure()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user