The keyboard class only supports unbuffered input for alphabetic keys, on windows systems.
What is needed:
- Unbuffered input for every keyboard key
- Support for key input on non-windows systems (i.e. Mac & Linux)
For the first point, it might be best to rewrite the keyboard class to have an enumerated data type of all keyboard keys. For the second point, I recommend looking into functions such as getch()
The keyboard class only supports unbuffered input for alphabetic keys, on windows systems.
What is needed:
For the first point, it might be best to rewrite the keyboard class to have an enumerated data type of all keyboard keys. For the second point, I recommend looking into functions such as
getch()