mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-23 16:20:40 +02:00
[input] added option to disable wgi/xinput to prevent SDL GUIDE hack
This commit is contained in:
parent
53a98f9de1
commit
801c472017
4 changed files with 35 additions and 1 deletions
|
|
@ -702,7 +702,15 @@ struct Values {
|
|||
|
||||
// Controls
|
||||
InputSetting<std::array<PlayerInput, 10>> players;
|
||||
|
||||
Setting<bool> disable_wgi_xinput{
|
||||
linkage, false, "disable_wgi_xinput", Category::Controls, Specialization::Default,
|
||||
// Only read/write disable_wgi_xinput on Windows platforms
|
||||
#ifdef _WIN32
|
||||
true
|
||||
#else
|
||||
false
|
||||
#endif
|
||||
};
|
||||
Setting<bool> enable_raw_input{
|
||||
linkage, false, "enable_raw_input", Category::Controls, Specialization::Default,
|
||||
// Only read/write enable_raw_input on Windows platforms
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue