Can I somehow control..say a program or a game on my pc from a button on the arduino, (directly or through processing or whatever)
Im trying to make H shifter for a game.
Can I somehow control..say a program or a game on my pc from a button on the arduino, (directly or through processing or whatever)
Im trying to make H shifter for a game.
I have a feeling the answer is very likely to be Yes, but can we all have a little bit more detail please, what you`re asking is vague to say the very least.
but off the top of my head, I will say that if you can Already control yout game from the arduino, then it`s a relatively trivial task to control the arduino From the PC.
serial port using a terminal emulator?, direct parallel port manipulation?, even more exotic things like blue-tooth or xbee or ethernet and yes... even a GSM cell phone 
Hi - this reminded me of the latest Ben Heck episode where he uses an Arduino in a game controller system. At one point, he shows an application on his computer displaying the button presses sent from the Arduino:
http://www.element14.com/community/community/experts/benheck
You might also want to look at Processing which is a very common method folks use to control PC applications via an Arduino:
Cheers,
Drew
I have no idea how to do these
, right now i have a h shifter with two pots acting as axes, and i have a code thats sending 1 , 2,3,4,5,6 over serial (for the diferent gears)
i tried to use transistors and a hacked keyboard -the transistor acting like a button ,but im having some issues with that too..
Yes, you can. Take a look at the Processing language. There are also some examples in the Arduino Cookbook. And you should check out the Arduino Playground for a little more info on using Processing with the Arduino.
Hope that helps.
i cant find examples of arduino keyboard or something like that..can you point me in the right direction?
Check out the Robot class for Processing (has an example of controlling mouse), if you can already send serial data to PC, you can use Processing to pick up the serial message and manipulate pointer using Robot Class.
And here is how to send a key press event, but it is in pure java rather than processing.