Cleric-K / vJoySerialFeeder

Feed Virtual Joystick driver with data from a serial port
GNU General Public License v3.0
252 stars 55 forks source link

how to add buttons with your old joystck in vjoy #71

Closed RicheClaw15 closed 1 year ago

RicheClaw15 commented 1 year ago

I am using a old rc joystick with arduino uno. How to add buttons to it. Which wires should be soldered in the joystick?

Cleric-K commented 1 year ago

It depends on what hardware switches you have available in the joystick. The easiest is to use pulled up inputs on the arduino and use the switches/buttons to short them to ground.

RicheClaw15 commented 1 year ago

bro can you please explain with diagram

RicheClaw15 commented 1 year ago

i don't understand that thing

Cleric-K commented 1 year ago

https://docs.arduino.cc/tutorials/generic/digital-input-pullup

RicheClaw15 commented 1 year ago

i have already have a pin connected to gnd, do i need to connect it again with switch

Cleric-K commented 1 year ago

The pin has to be connected to gnd through the switch/button that you want to use. Does your joystick have buttons? Have you wired these buttons in some way?

RicheClaw15 commented 1 year ago

it worked