GithubHelp home page GithubHelp logo

Comments (3)

m42i avatar m42i commented on June 12, 2024

For me, /dev/input/js0 is player 2 and /dev/input/js1 is player 1. Other than that, it works.

I connected two SNES pads via a trimmed IDE cable and an SNES console front part with the controller plugs to the GPIO.

I've made absolutely sure that my wirings are correct. I attached the player 1 data to P1-05 (GPIO 3) and player 2 data to P1-07 (GPIO 4). (reference: http://elinux.org/RPi_Low-level_peripherals#General_Purpose_Input.2FOutput_.28GPIO.29 )

I installed SNESDev-RPi with the install option in RetroPi-Setup.

Here is my cpuinfo:
pi@raspberrypi ~ $ cat /proc/cpuinfo
Processor : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 464.48
Features : swp half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7

Hardware : BCM2708
Revision : 000f
Serial : 0000000030daf71b

from snesdev-rpi.

m42i avatar m42i commented on June 12, 2024

Ok, the source code says P1-07 is player 1 and P1-05 is player 2. If this is correct, the description in retropie-setup.sh:1500 is wrong.

from snesdev-rpi.

petrockblog avatar petrockblog commented on June 12, 2024

I have updated main.c by swapping the pin assignments. I decided it this way to keep up the same assignment as the gamecon module.

from snesdev-rpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.