Comments (4)
It’s working as intended. The format goal of this DB (and SDL2) is based on normalising the physical location of buttons on the controller. B on an XInput controller is the right face button, even though it is marked as A on Nintendo controllers. Physical button location/equivelance is given precedence over the labels. For example, on Sony controllers, the Circle button would be marked in the DB as B. Getting the device labels to match is not the goal of this repo; doing so requires an additional step (that’s out of scope for this DB) of identifying the controller type and how it’s buttons are labelled. I can’t speak to Jamepad as I don’t know what it purports to accomplish. See the Readme for more examples.
from sdl_gamecontrollerdb.
this is actually working as intended. the inputs are mapped based on button position (relative to an Xbox360 controller), so a/b and x/y are swapped on the nintendo controller layout.
from sdl_gamecontrollerdb.
Yes it's working as intended. The database matches the button position, not the name. It gets confusing for the nintendo controllers as they are named identically to the xbox controller.
from sdl_gamecontrollerdb.
Why then when I press A it is recognized as B? I don't understand if it's a problem with the controller this library or Jamepad library.
from sdl_gamecontrollerdb.
Related Issues (20)
- Add mapping for Final Fantasy XIV game controller HOT 7
- Add mapping for Kite Circuit Sword HOT 1
- Missing mapping for Xbox Elite Controller HOT 5
- Add device layout information to DB HOT 2
- 8BitDo Ultimate C Wired Linux HOT 2
- Mapping for Xbox Elite detected as Bluetooth LE XINPUT compatible input HOT 3
- --
- Unexpected mapping value `dev:none`
- mapping for Mayflash Wii Classic Controller HOT 3
- Select and Start button are inverted when automapping with SDL using Dualshock2 and PS2 to PC converter HOT 1
- Add another Xbox One Controller HOT 1
- Add new Nacon controller Revolution 5 Pro HOT 5
- Admin migration HOT 2
- "DragonRise Inc. Generic USB Joystick" for linux HOT 2
- How is the GUID matched? HOT 1
- Add DualSense Edge Controller to Windows, MacOS, and Linux HOT 2
- Xbox Series Controller with Capture button HOT 1
- after closing a game, sdl error HOT 1
- Please add new mapping for CECHZC2U Wireless Controller (PS3 Controller) (mapping included) HOT 2
- Wrong DPad entries for Android HOT 5
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 sdl_gamecontrollerdb.