Hi, first off I'm completely new here so I'm sorry if this is the wrong place, it seemed like the most appropriate place to ask this question.
I've got a Teensy 2.0 which I have been playing around with using teensyduino+Arduino 1.0.1 .
What I am ultimately wanting to achieve is a game controller which can receive outputs from my own program on the pc through USB (similar to the Flightsim example but with my own program in place of Flightsim X). I have managed to interface with my program using the RawHID example included in teensyduino but in order to use the raw data as a game controller I imagine I'd have to write windows drivers etc which is beyond my capabilities. What I'd rather be able to do is use functions from both the RawHID library and Joystick library (not sure if library is the right word but it's a similar concept).
Would I have to:
- Write an entirely new library from scratch? (beyond my capabilities for now but I might be able to just about manage using the sources from RawHID and Joystick)
- Program purely in C using WinAVR? (I guess I should learn how to do this eventually anyway but I don't want to jump right in with trying to use USB)
- Have somebody tell me there's a nice easy way to do it? (definitely my preferred option )
Thanks in advance.