Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
keys: Define key-check for primary directional keys.
This commit adds a function that checks if a key is one of the directional keys(i.e. right, left, up or down). This will allow us to have a more general and concise way of checking for direction keys during keypress events.
- Loading branch information