Ive been scavenging the net all morning for a way to get joystick readings from my fez cerberus so I can use it to control a project of mine. However I cant seem to find a way to get the info to a windows form application without creating 2 seperate solutions and a sending the info via http. I’ve only worked with C# for a few weeks so Im not too familiar with all the workings, but is there a way to get the info from this joystick within a single solution?
Its probably a waste of the whole cerberus hardware but the kit I got only includes the joystick and led, figured I’d combine it with other hardware.
@ Metalith - You could send the joystick data via Uart (Serial Port).
So in visual studio you would have 1 solution with 2 Projects.
Project A would be the Cerberus reading the joystick and sending the vales via Uart.
Project B would be a Windows app reading a Com port getting the joystick values.
Alas, it is usb-serial and I have only a Usb client SP module.
That page was very very helpful though. Im not sure if this would work or not but would probably be best as a last but there appears to be software to convert a usb device into a virtual com port. No idea if thats worth looking into but thanks for the help so far.
Why don’t you use a BlueTooth module? They’re cool, and most PC hardware has BT these days. Plus, no wires ! http://www.tinyclr.com/codeshare/entry/446 is my minimal example so you can see.