I am making myself an autopilot box to work with Microsoft Flight Simulator X, and using Arduino to connect up the buttons to the simulator. Currently, pressing a button simulates a keyboard press and that keyboard press is then in the simulator connected to an action. The problem with this is, that there is a limited amount of letters on the keyboard, and it renders my keyboard useless while using it as keyboard strokes then affect the simulator.
I was therefore wondering whether is there a way to assign a joystick-like button press using Arduino, as other joysticks do when being paired to the simulator (i.e. pressing a button would show up as Joystick button 1, rather then for example a press of "A" on the keyboard.)