I can check whether key is down by Keyboard.IsKeyDown method. But how can I check specified key is only key which is down?
There is a way to get the current keyboard state and work out what keys are pressed, but its a bit messy and uses the user32.dll. Have a look at the answer to this one.
https://stackoverflow.com/a/1752761/1232571
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With