Check if the given keyboard key has just been pressed/released or, if it's held down or not (up).
See Implementation
Check if the given keyboard key has just been pressed/released or, if it's held down or not (up).