If not on Windows, disable raw input

This way, if someone copies their Windows config to other OS, they won't be stuck without web applet for no apparent reason.
master
Valeri 2021-09-18 15:10:00 +07:00 committed by GitHub
parent b54bf126f7
commit 738cd1896b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

@ -560,7 +560,11 @@ void Config::ReadControlValues() {
ReadTouchscreenValues();
ReadMotionTouchValues();
#ifdef _WIN32
ReadBasicSetting(Settings::values.enable_raw_input);
#else
Settings::values.enable_raw_input = false;
#endif
ReadBasicSetting(Settings::values.emulate_analog_keyboard);
Settings::values.mouse_panning = false;
ReadBasicSetting(Settings::values.mouse_panning_sensitivity);