If anyone out there is familiar with game console emulators, such as the N64 emulator where you can download the virtual console software then download ROM files and play them as N64 games on your computer, or even just PC games in general, you know that having a mouse usually just isnt as great as using a joystick. Depending on how much cash I have, I might buy the arduino joystick shield since it comes with everything nice and clean, but I was wondering how to use the analog values for the joystick for the mouse X & Y on my laptop, and use the buttons as keys on my keyboard. And I'd guess that theres some way you could do this all through the serial port from laptop to arduino, but I'm not quite sure how, any sources or info anyone could toss my way?
I saw a video on Sparkfun website a few weeks ago of them using an accelerometer through an Xbee wireless setup to control the mouse X & Y, so I'd think using a joystick through an arduino on a serial port wouldn't be terribly difficult.
First off, which emulator is it?
Secondly, unless it was a really old DOS emulator (such as NESticle or Genecyst), I would think that it would have some way to map a USB joystick to the emulated joysticks. I know I can do that with MAME/MESS, and I know it is available for other "newer" emulators. Barring that, I would think you could find (paid or free) software to map USB joysticks to simulate the mouse and/or keypresses.
Unless rolling your own solution (and the learning about how that comes with it) is your goal, I think there are far easier ways to do what you are trying to do...
