Unity Issue Tracker - InputAction.GetBindingDisplayString returns WASD when the controller is used even if the current keyboard is not WASD layout
Closed
ISXB-265
InputAction.GetBindingDisplayString returns WASD when the controller is used even if the current keyboard is not WASD layout
Package: Input System
Won't Fix
1.4.X
1.3.X
I tested the same sample from v1.4.2 of the Input System package and was unable to reproduce the issue there anymore. (However I could see the issue was present in the v1.3.0 sample provided).
Reproduction steps:
Open the user attached project
Open the “RebindingUISampleScene” scene
Connect a gamepad
Switch the keyboard to AZERTY layout (French language)
Press the Play button
Press any button on the keyboard
Observe that in the Game view in section “Keyboard & Mouse” field “Move” is set to “Z/Q/S/D”
Press any button on the gamepad
Observe the Game view, section “Keyboard & Mouse”, field “Move”
Expected result: Field “Move” is set to “Z/Q/S/D”
Actual result: Field “Move” is set to “W/A/S/D”