Joystick to Microcontroller

Thread Starter

imzack

Joined Nov 3, 2010
73
Hello,

I need to input data from a joystick to my computer.

I want to do this with a C program and have my silicon labs board input the data and then do stuff with it...

My main problem is that I don't know how to retrieve info from computer peripherals.

Any suggestions?

Thanks
 

tshuck

Joined Oct 18, 2012
3,534
Which peripheral?

I usually use a serial port (usually virtual), that can be accessed by any number of programs. I usually do initial testing with a terminal program, TeraTERM, and then write a custom WPF or WinForms application to interface however I want.
 

MrChips

Joined Oct 2, 2009
30,714
Most computers today have eliminated all user ports and replaced them with USB.
The STM32F4Discovery I believe has an example of a joystick interface via USB.
 
Top