This project listens for keyboard events on Windows using the winim
library in Nim. It captures key presses and displays the corresponding key codes in hexadecimal format. The hex values correspond to Windows virtual key codes, which represent different keys on the keyboard. This tool can be useful for monitoring keyboard input or building key event-based applications.
- Capture keyboard input events (key presses).
- Display key codes in hexadecimal format.
- Hexadecimal values correspond to Windows virtual key codes.
- Easy to use and extend with additional functionality.
Before running the project, ensure you have the following:
- Install Nim by following the instructions on the official website.
- Install the
winim
library by running the following command:nim install winim
For more details on the virtual key codes and their corresponding keys, please refer to the official Microsoft documentation on Virtual Key Codes.