can you make an Arduino control media functions on a computer?

I am thinking of making a button box where you can control media functions (pause, play, skip, etc) I have seen you can make a keyboard with key commands like ctrl alt etc. Is it possible to make a button box with the commands? if so what is the code for it?

Yes it is. The code is up to you to write. We are are not going to do your project for you.

I mean what is the code as in what do I have to write to call the function? (is it something like keyboard_play?)

See the Wiki and read about the different keyboard types: GitHub - NicoHood/HID: Bring enhanced HID functions to your Arduino!.
Then look at this example: HID/Consumer.ino at master · NicoHood/HID · GitHub.
You will find all the possible media keys here: HID/ConsumerAPI.h at master · NicoHood/HID · GitHub.

thank you.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.