This is a fork of the code written by Adafruit and published at: https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/Macropad_Hotkeys/code.py
Full Tutorial here: https://learn.adafruit.com/macropad-hotkeys
This fork adds support for Consumer Keys, such as play/pause and volumn buttons. This is done by adding a fourth boolen parameter to the macro array to determine if the command is a consumer key.