Hi there!
I am working on a remapping system and I found a weird issue: pressing the right alt on my keyboard lead to those two functions to return true:
- Input.GetKey(KeyCode.LeftControl)
- Input.GetKey(KeyCode.RightAlt)
I thought it was some weirdness linked to my build or to my code, so I checked on another computer: same issue. So I wrote those two lines in my Update:
if (Input.GetKey(KeyCode.LeftControl))
Debug.Log(“Left control pressed”);
and ran an empty scene. When I press my right alt, my console return “Left control pressed” !
Is it a feature? Or a weird bug? Is it an issue with the two keyboards I managed to try it on?