This code is an extended version of the Keyboard library already present in the Arduino IDE. What the official version lacks is the support for Page 0x01 keys (like Volume Up/Down, Mute, Sleep, Power ...
This project is built using PlatformIO. The code is structured to separate hardware interactions from the core logic, making it testable without actual Arduino hardware.
You can read the state of a button using Arduino and a few lines of code. The actual state is shown in the Serial Monitor window as 0 or 1, 0 meaning the button is not pressed and 1 that the button is ...