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

Summary: Add a default gamepad mapping for the 8Bitdo SN30 using the "8Bitdo Receiver"
Product: SDL Reporter: Manuel Alfayate Corchete <redwindwanderer>
Component: joystickAssignee: Sam Lantinga <slouken>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.9   
Hardware: All   
OS: Linux   

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!