readkey
A very small library for finding out if a key is currently pressed on macOS.
Example usage
Check if the Up
key is currently pressed:
use Keycode;
Related
readmouse - Read the mouse location on macOS.
A very small library for finding out if a key is currently pressed on macOS.
Check if the Up
key is currently pressed:
use Keycode;
readmouse - Read the mouse location on macOS.