beardypig/guncon2

Only one Guncon working when 2 are connected, and neither listed by evdev-joystick --listdevs

Opened this issue · 4 comments

Hi! Thank you for this module! I was successfully able to compile and modprobe it in order to use my Guncon 2 as an input device when playing Point Blank under Retropie when connected to a CRT display, which I thought was incredible!

However, I'm having two problems using this driver for an actual multiplayer game -- one is that Retropie seems to only map a single Guncon for both players no matter what I do, and I think this is tied to problem 2: my Guncons aren't being listed as joysticks by either evdev or by Retropie, so I can't configure or calibrate them very effectively, and I don't actually know how Retropie is accessing them otherwise.

I think they might be being recognized as mice, currently?

pi@retropie:/dev/input/by-path $ ls
platform-3f980000.usb-usb-0:1.1.2:1.0-event-mouse     platform-3f980000.usb-usb-0:1.1.3:1.0-joystick
platform-3f980000.usb-usb-0:1.1.2:1.0-mouse           platform-3f980000.usb-usb-0:1.3:1.0-event-mouse
platform-3f980000.usb-usb-0:1.1.3:1.0-event-joystick  platform-3f980000.usb-usb-0:1.3:1.0-mouse

Help would be appreciated!

Additionally, I can't tell whether the example X/Y values provided by your readme are supposed to be arbitrary or if they are generally comparable to minimum X/Y values on an "average" 480p display — more documentation here would be great!

Regarding 2 GunCons, I'm not sure... I don't have two to test it with :D

For the calibration values, those were for my display. You need to use the tools provided by your distribution to determine suitable calibration values. evtest can be use to find the limits, or you can use the calibration python script that is in the repo (it requires pygame).

The docs are a work in progress.

I confirm that the driver work fine with 2 or even more guns connected. RGB-Pi OS is already able to work with 2 guns simultaneously using this driver

Thanks, @rtomasa, that's great news, and means my configuration will work! Can you clarify if you've done anything special to prevent the Guncons from being detected as mice? All I've done is built and installed the module to get this result. What kernel version are you on? Thanks!