USB button box/keyboard?

Hello guys,

I wanted to build a small box with a few buttons and switches that will work in a flight simulator via USB.

And was wondering what the cheapest method to do this would be, and if its something that could be done with the Arduino?

Is this your own flight simulator or a commercial one?

Its a commercial one.

Elite Dangerous

Or did you mean the hardware?

In which case, I'm talking about a Windows PC and a button box that will hook up to it via USB and register when the buttons are pressed, so I can map them to keyboard keys (as this will clear a heap of desk space, and help with immersion)

An arduino Leonardo or micro can be made to look like a keyboard or a mouse to a PC, that would be your best bet.

Grumpy_Mike:
An arduino Leonardo or micro can be made to look like a keyboard or a mouse to a PC, that would be your best bet.

Thanks Mike, take it this is a feature of the ATmega 32U4?

(is there a name for this, or should I be goggling something like "Arduino USB keyboard emulation")

n00b:
should I be goggling something like "Arduino USB keyboard emulation"

Well, that would take you to this page.

Paul__B:
Well, that would take you to this page.

Well that dose look like a good place to start :grin:

Just read so many terms like USB Human Interface Device, Emulation, USB Compatible Input Interface, Joystick Controller, Button Box Interface and so on!

But this looks like it wll be the best option for me, as I have a whole bunch or Arduinos, and only want to be able to emulate a dozen button presses.

n00b:
But this looks like it wll be the best option for me, as I have a whole bunch or Arduinos, and only want to be able to emulate a dozen button presses.

How did this turn out? were you successful?