We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4352 - Add a default gamepad mapping for the 8Bitdo SN30 using the "8Bitdo Receiver"
Summary: Add a default gamepad mapping for the 8Bitdo SN30 using the "8Bitdo Receiver"
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: 2.0.9
Hardware: All Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-02 23:20 UTC by Manuel Alfayate Corchete
Modified: 2018-11-02 23:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Alfayate Corchete 2018-11-02 23:20:39 UTC
Hi there,

I'd like to have this default mapping for the 8Bitdo SN30 gamepad added in src/joystick/SDL_gamecontrollerdb.h, so the gamepad is detected as a gamepad by SDL2 and games threat it as such a device.

This is the mapping it fits better: it's the same as a 8Bitdo SFC30, only the GUID changes:

"03000000c82d00000031000011010000,8Bitdo Receiver,a:b1,b:b0,back:b10,leftshoulder:b6,leftx:a0,lefty:a1,rightshoulder:b7,start:b11,x:b4,y:b3,",

Please add it to the "#if defined(__LINUX__):" section at least, as I am testing this on GNU/Linux systems on ARM/AARCH64 and X86_64.

Thanks!