And here we are again…
There is a problem with the Defold input and my Mac keyboard with Italian layout. Almost all non-alphanumeric keys are wrong. Here is a list of pairs k , a where k is the key I press on the keyboard and a is the action_id I get:
< , key_grave
-, key_slash
ò, key_semicolon
Ă , key_singlequote
Ăą, key_backslash
è, key_lbracket
+, key_rbracket
', key_minus
ì, key_equals
How can I know which keyboard layout the player is using? Again, this is a blocker for control configuration. And this time for keyboard input. The same problem with gamepad layout now for keyboard layout. What a mess! Or am I doing something wrong?
Should I exclude all non alphanumeric keys?