Arduino as a Keyboard

Hi Guys, I fly FSX ( http://www.microsoft.com/games/flightsimulatorx/ ) and this program can be opperated with a programed keystroke for a fuction ex. gear up/ down would be G. so i wish to make the arduino act as a key board and output the keystroke when i push the button or turn a Rotery Encoder. Help Please! hayden 8)

When you say keyboard, do you mean USB or PS2 or either?

Hi haydenyoung

AAC keys might be an easy option for you:
http://www.aacinstitute.org/Resources/ProductsandServices/AACKeys/AACKeys.html

You program the Arduino to send commands though the serial. AAC keys (computer side) reads the serial information and emulate the key strokes or mouse movements.

-Fletcher

If you are using an UNO or a Mega2560 you can reprogram the atmega8u2 on it to be a Keyboard HID device, making the Arduino behave like a USB keyboard when its plugged into a PC. There are details, sample sketches, and firmware available here: Arduino Hacking blog.

It Dosint Mater if its usb or ps2 (usb prefured thou) and if i moved the toggle i would need it to put out a Shift+g or something but it cant be at the same time, im useing a Duemilanove