Sending script output from Pi to Windows
Posted: Fri Jul 17, 2015 6:50 am
I know the title doesn't do a great job, but here's the situation:
I have a physical push button connected to my Raspberry Pi's GPIO pin 18.
I wrote a script that, when receiving button input, outputs the keystroke W.
Script runs great on Raspberry Pi, no problems there.
Now, here's the rub:
The goal is to have a switch that, when pressed, activates a button in a computer game on my windows machine. My motherboard doesn't have an RS-232 port and I don't understand how USB works enough, so I'm using the Pi as the button interface. I want to take that W keystroke from the Pi and make my Windows computer execute that command.
Anyone able to point me in the right direction? I may post pictures and diagrams tomorrow. Too tired tonight,
P.S. Both computers are network connected and I SSH through PuTTY.
I have a physical push button connected to my Raspberry Pi's GPIO pin 18.
I wrote a script that, when receiving button input, outputs the keystroke W.
Script runs great on Raspberry Pi, no problems there.
Now, here's the rub:
The goal is to have a switch that, when pressed, activates a button in a computer game on my windows machine. My motherboard doesn't have an RS-232 port and I don't understand how USB works enough, so I'm using the Pi as the button interface. I want to take that W keystroke from the Pi and make my Windows computer execute that command.
Anyone able to point me in the right direction? I may post pictures and diagrams tomorrow. Too tired tonight,
P.S. Both computers are network connected and I SSH through PuTTY.