dxwrapper icon indicating copy to clipboard operation
dxwrapper copied to clipboard

[Lithtech] [Dinput] Keybinds not set when system's language isn't english

Open vini1264 opened this issue 10 months ago • 1 comments
trafficstars

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:

English_Input

Portuguese_Input

Here's how the left click key is named after I bind it on my portuguese layout: Portuguese_Input2

vini1264 avatar Jan 13 '25 12:01 vini1264

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.

elishacloud avatar Mar 20 '25 04:03 elishacloud