Comments (1)
It's a good suggestion, but I probably won't be working on it anytime soon as my day job has me pretty busy at the moment. You can always use combos to simulate having extra pins. For example, pin 3 = 'A', pin 5 = 'B', pin 3+5 = 'C'.
With combos, you can essentially set aside one 'shift' pin for each player to work as follows:
PLAYER 1:
'SHIFT PIN'=37
UP=3
DOWN=5
LEFT=7
RIGHT=11
A=15
B=13
X=19
Y=21
LSHOULDER=29
RSHOULDER=31
START=SHIFT+A (37+15)
SELECT=SHIFT+B (37+13)
COIN=SHIFT+X (37+19)
EXIT=SHIFT+Y (37+21)
PLAYER 2:
'SHIFT PIN'=40
UP=8
DOWN=10
LEFT=12
RIGHT=16
A=18
B=22
X=26
Y=32
LSHOULDER=36
RSHOULDER=38
START=SHIFT+A (40+18)
SELECT=SHIFT+B (40+22)
COIN=SHIFT+X (40+26)
EXIT=SHIFT+Y (40+32)
To use the shift pin technique, you can either wire each shifted button to 2 pins (plus ground pin), or you can wire 1 button to act as your 'shift' button and just require the player to press the 'shift' button + another button at the same time.
from gpionext.
Related Issues (20)
- Unable to use GPIO 0 HOT 1
- Conflict with touch screens HOT 1
- GPIOnext Config not working HOT 1
- Not working with an SPI connected joystick HOT 5
- SPI screen freezes right before starting Emulation Station on Retropie HOT 3
- GPIOnext doesnโt save configuration HOT 10
- Buttons sticking HOT 1
- GPIOnext and sudo commands not working correctly HOT 4
- Button combos not working HOT 4
- Buttons not detected as gamepad HOT 6
- Configuration not saving HOT 1
- Support for GPIO expanders? HOT 2
- install.sh can't run without internet HOT 2
- 'dtoverlay=act-led,gpio=4' makes "gpionext config" to fail HOT 14
- RetroPie Not Recognizing New Gampad HOT 2
- Install fails as per Jaycar instructions. Help. :) HOT 5
- Only two inputs work HOT 5
- Gamepads Detected but only Keyboard controls
- ModuleNotFoundError: No module named evdev HOT 5
- gpionext config doesn't detect gpio inputs HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpionext.