Pro micro as usb button box for DCS

What do I have to do to get the Pro Micro to function as a usb keyboard - using rotary encoders and push-button switches to interface with DCS World?

Hi, thanks for writing in on the forums.

The best material I can offer to help is the following tutorial: https://www.sparkfun.com/tutorials/337

The tutorial should give you a really good general idea of what is in store for a project like yours.

You could Google “rotary encoder mouse arduino” or similar and find folks using these parts in similar projects. Not super familiar with Digital Combat Simulator world, however, if the program uses HID peripherals I do not see why any Arduino that can do HID(Pro Micro can) with the right hardware could not work.

I hope this helps.

Thanks for the response, I already have a working button box - 4 rotary encodes, 5 momentary toggle switches, 12 push-buttons, interfacing with the windows joystick controller and used in-game, thats on a teensy board. It was easy to just set the teensy board to usb joystick/keyboard mode, but theres no such option for the pro micro. Hence my question.

In the arduino program > tools, theres options to set board, processor and port, but for the pro micro thers no option to set it to usb joystick/keyboard, its just com 1 or com 8. Windows joystick controller is not interested in com 1 or 8, its not recognised as a HID

Am having same issues as reported here re win 64 drivers not installing or being recognised

viewtopic.php?t=42942

How do I get pc to recognise the board as a usb joystick & keyboard?

Frustrations continue, hours wasted this weekend trying to get drivers to run it, will not accept uploads, will not reset, will only recognise com1, no com name + board name comes up. regretting the purchase :frowning:

Hey again.

I regret to say that you will have to implement specific libraries or write your own code in order to get the pro micro to behave like a keyboard.

https://www.arduino.cc/reference/en/lan … /keyboard/

If you need help writing code you can head over to the Arduino forums and see if the community over there can help out:

https://forum.arduino.cc/

I hope this helps. Good luck.

its not really keyboard function I’m after, its joystick buttons, to be recognised by windows joystick controller then I can port the settings into the game

Here’s a joystick library: https://www.instructables.com/id/Create … ick-Libra/

/mike

Thats not the issue, i have the joystick library, the PC only recognises COM1 for the board and nothing will upload onto it. Win64 drivers not installing or being recognised. Oh - before you ask, I tried turning it all off and then on again :wink: