dxwrapper
dxwrapper copied to clipboard
[Lithtech] [Dinput] Keybinds not set when system's language isn't english
I was tinkering with the Lithtech game Kiss Psycho Circus and noticed an odd behaviour regarding keybinds and inputs on different languages, my system is set to portuguese and when starting the game for the first time with default settings, some inputs in the options were empty despite it being present in the default.cfg file. When I changed my system's language to english the keybinds related to mouse were properly assigned by default without having to bind it again, this same behaviour is also present in Blood 2 where some keyboard and mouse inputs were unassigned in system's languages other than english, scroll wheel also don't work in other language layouts. I wonder if there could be an option in the Dinput wrapper to force games to recognize the keyboard layout as english. Here's images of the issue bellow to show what I mean:
Here's how the left click key is named after I bind it on my portuguese layout:
noticed an odd behaviour regarding keybinds and inputs on different languages, my system is set to portuguese and when starting the game for the first time with default settings, some inputs in the options were empty despite it being present in the default.cfg file.
Is this same issue happening without dxwrapper? I am just trying to ascertain if you want me to fix an issue with the game or an issue with dxwrapper.
I wonder if there could be an option in the Dinput wrapper to force games to recognize the keyboard layout as english.
I am sure this should be possible. I don't really have any non-English keyboards to test this but I can look into this later.