Merge pull request #7042 from v1993/patch-7
Hide XInput bypass on non-Windows OSes
This commit is contained in:
commit
fba301155b
|
@ -562,7 +562,11 @@ void Config::ReadControlValues() {
|
||||||
ReadTouchscreenValues();
|
ReadTouchscreenValues();
|
||||||
ReadMotionTouchValues();
|
ReadMotionTouchValues();
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
ReadBasicSetting(Settings::values.enable_raw_input);
|
ReadBasicSetting(Settings::values.enable_raw_input);
|
||||||
|
#else
|
||||||
|
Settings::values.enable_raw_input = false;
|
||||||
|
#endif
|
||||||
ReadBasicSetting(Settings::values.emulate_analog_keyboard);
|
ReadBasicSetting(Settings::values.emulate_analog_keyboard);
|
||||||
Settings::values.mouse_panning = false;
|
Settings::values.mouse_panning = false;
|
||||||
ReadBasicSetting(Settings::values.mouse_panning_sensitivity);
|
ReadBasicSetting(Settings::values.mouse_panning_sensitivity);
|
||||||
|
|
|
@ -88,6 +88,10 @@ ConfigureInputAdvanced::ConfigureInputAdvanced(QWidget* parent)
|
||||||
connect(ui->buttonMotionTouch, &QPushButton::clicked, this,
|
connect(ui->buttonMotionTouch, &QPushButton::clicked, this,
|
||||||
&ConfigureInputAdvanced::CallMotionTouchConfigDialog);
|
&ConfigureInputAdvanced::CallMotionTouchConfigDialog);
|
||||||
|
|
||||||
|
#ifndef _WIN32
|
||||||
|
ui->enable_raw_input->setVisible(false);
|
||||||
|
#endif
|
||||||
|
|
||||||
LoadConfiguration();
|
LoadConfiguration();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue