ifIf you are getting ceroszeros, the most probably cousecause is it's the library for the IR. Reinstall or updeateupdate the library, sometimes. Sometimes you have to reinstall more than one time. That should work. About
About media keys, the keyboard library doesn't have media keys funccionallityfunctionality, so you need to use another one. ThisThis one worked for me: https://github.com/NicoHood/HID after
After you install this library, you have to change your code. The code for pressing media keys is different, you. You have to use Consumer.writeConsumer.write, for example Consumer.write(MEDIA_VOLUME_UP) for vulme, Consumer.write(MEDIA_VOLUME_UP) for volume up. You cab You can find the name of every key here: https://github.com/NicoHood/HID/wiki/Consumer-API
forFor normal keys, just use Keyboard.write() if. If you want i, I can send you the code I made to do this.
I hope this was helpfull