I'm having some trouble with getting input from some specific keys, and I can't think why. Using C#, but I don't think that part matters.
This works as expected (Up arrow, Spacebar, Right arrow):
Console.WriteLine(Keyboard.IsKeyPressed(Keyboard.Key.Up));
Console.WriteLine(Keyboard.IsKeyPressed(Keyboard.Key.Space));
Console.WriteLine(Keyboard.IsKeyPressed(Keyboard.Key.Right));
Console.WriteLine("---------------");
The output when all three keys are held is:
True
True
True
---------------
However, if I change the test to use the left arrow instead of right:
Console.WriteLine(Keyboard.IsKeyPressed(Keyboard.Key.Up));
Console.WriteLine(Keyboard.IsKeyPressed(Keyboard.Key.Space));
Console.WriteLine(Keyboard.IsKeyPressed(Keyboard.Key.Left));
Console.WriteLine("---------------");
The output when all three keys are held is:
False
True
True
---------------
It's as though the spacebar isn't registered at all. Is this just a limitation of my keyboard or the way input is handled by the OS?