We are struggling with binding controls to the AltGr/RightAlt key on British keyboards. Currently, the debug tool returns three inputs when AltGr is pressed on a British Keyboard:
Hey, old thread, but can I ask what you did to work around it?
I’m currently just testing if Left Control and RightAlt are pressed at the same time, and in that case, favouring the Right Alt.
this is a joke at this point. I’ve just discovered that my users in foreign languages couldn’t register because they have to press alt gr+2 to get the @ for their email. Surprise? I had the Left Control key set to submit or fire for the game.
Unity considers that Left Control key and Alt Gr are the same. So basically every time they pressed the Alt Gr to input the @, the game would consider you hitting the control key to submit the values… without the @ and giving an error to register or login. Locking everyone out of the game.
Awesome, isn’t it? I mean, this bug was reported 7 years ago! If it wasn’t because I got a spanish keyboard these days, I would never find out and explains why nobody from spanish speaking countries would ever join!