Joystick 2 not working Circuit sword V1.1E

Post Reply
xaphor
Posts: 23
Joined: Sun May 05, 2019 8:41 am
Has thanked: 2 times
Been thanked: 1 time

Joystick 2 not working Circuit sword V1.1E

Post by xaphor » Sun Aug 25, 2019 9:21 am

I've been trying to get this working for a while and I've also checked my wiring, everything checks out,

I've got one working and it works when I use jstest /dev/input/js0 but the second one get nothing, is there anything else I need to do to get the second one working?

I did also go through the steps on here https://github.com/kiteretro/Circuit-Sw ... -Sword-FAQ

Thanks,

User avatar
kite
Posts: 894
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 231 times
Been thanked: 300 times
Contact:

Re: Joystick 2 not working Circuit sword V1.1E

Post by kite » Tue Aug 27, 2019 2:51 am

Can you show the output of the configuration.py command? When run normally or just pressing ENTER it will show the config. Also the wiring of how you have connected it

xaphor
Posts: 23
Joined: Sun May 05, 2019 8:41 am
Has thanked: 2 times
Been thanked: 1 time

Re: Joystick 2 not working Circuit sword V1.1E

Post by xaphor » Tue Aug 27, 2019 2:40 pm

I can't seem to find the configuration.py I tried pressing enter and that didn't work.. Mind telling me the path of this file and I'll copy it?

User avatar
kite
Posts: 894
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 231 times
Been thanked: 300 times
Contact:

Re: Joystick 2 not working Circuit sword V1.1E

Post by kite » Wed Aug 28, 2019 6:34 am

It's part of the steps you would have to follow to enable it, which are here at the link you provided: https://github.com/kiteretro/Circuit-Sw ... -joysticks

xaphor
Posts: 23
Joined: Sun May 05, 2019 8:41 am
Has thanked: 2 times
Been thanked: 1 time

Re: Joystick 2 not working Circuit sword V1.1E

Post by xaphor » Thu Aug 29, 2019 12:36 pm

My bad!

Here is the config (attatched)

Also here's the wiring.. https://drive.google.com/file/d/14r56QV ... -M9s-/view

My camera can't focus but its wired like the other one I have in there and that's working fine :)
Attachments
PIJOYSTICK.PNG
PIJOYSTICK.PNG (14.53 KiB) Viewed 380 times

User avatar
kite
Posts: 894
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 231 times
Been thanked: 300 times
Contact:

Re: Joystick 2 not working Circuit sword V1.1E

Post by kite » Fri Aug 30, 2019 1:51 am

Ah, i have a feeling you have hit an issue that was on the early boards :) the issue is that the Arduino code had a bug that didn't enable joystick 2! I only just remembered about it now based on some of the output of that command not coming back correctly (older firmware).

Could you please follow these steps to get it updated: https://github.com/kiteretro/Circuit-Sw ... controller

xaphor
Posts: 23
Joined: Sun May 05, 2019 8:41 am
Has thanked: 2 times
Been thanked: 1 time

Re: Joystick 2 not working Circuit sword V1.1E

Post by xaphor » Sat Aug 31, 2019 3:12 am

Thanks Kite that worked perfectly! Thanks for the support I really appreciate it!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest