M3GAPL3X
March 3rd, 2010, 04:24 PM
Hi guys,
Beginner C# programmer here. I am looking to control a robot via a gamepad and code it through Visual C# (the interface and C# code). What will need to happen is that when the user presses the UP button, it will convert that UP command into a data stream of about 11 bytes and send it through the serial port on a PC.
Can someone give me insight on what I should be using to achieve this? I have looked around and it seems that this can be done with the XNA platform with this:
http://xnadirectinput.sourceforge.net/
I will use an off the shelf gamepad.
Any comments would be appreciated.
Beginner C# programmer here. I am looking to control a robot via a gamepad and code it through Visual C# (the interface and C# code). What will need to happen is that when the user presses the UP button, it will convert that UP command into a data stream of about 11 bytes and send it through the serial port on a PC.
Can someone give me insight on what I should be using to achieve this? I have looked around and it seems that this can be done with the XNA platform with this:
http://xnadirectinput.sourceforge.net/
I will use an off the shelf gamepad.
Any comments would be appreciated.