1
0
Fork 0
forked from eden-emu/eden

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.
This commit is contained in:
Valeri 2021-09-18 15:10:00 +03:00 committed by GitHub
parent b54bf126f7
commit 738cd1896b
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);