Quote from: Indra Anagram on Mon 15/08/2022 11:54:48
Is there a way to make the A, S and D keyboard buttons work whatever the language is on on my machine? Because someone having non-Latin alphabet might have the game not working as well.
I did not pay attention to this earlier, but it seems like this got fixed in AGS 3.6.0; it's in Beta currently, may be found here:
https://www.adventuregamestudio.co.uk/forums/index.php?topic=59842.0
If I print keycodes on screen in on_key_press, the AGS 3.5.1 prints 65, 83, 68 for A-S-D keys if latin lang is on, and always 94 if cyrillic lang is on (94 means '^' character, this character is used to replace "invalid codes", I think).
At the same time, AGS 3.6.0 prints 65, 83, 68 regardless of the active system language.
EDIT: oh, I see now, this works correctly only if "Use old-style keyboard handling" is off in the game settings; this is default in 3.6.0. If you switch it on (use old mode), then it stops working correctly again.