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 3621 - Nintendo Switch Pro Controller Support
Summary: Nintendo Switch Pro Controller Support
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: don't know
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-02 13:26 UTC by George
Modified: 2017-04-04 23:22 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description George 2017-04-02 13:26:29 UTC
Feature request to support the new Nintendo Switch Pro controller. Below is the mapping generated by Steam with all buttons in 360-like positions, missing only the Screenshot button as Steam does not have a spot for that button.

050000007e0500000920000001000000,Nintendo Switch Pro Controller,a:b0,b:b1,y:b3,x:b2,start:b9,guide:b12,back:b8,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7
Comment 1 Sam Lantinga 2017-04-04 23:22:01 UTC
Added, thanks!
https://hg.libsdl.org/SDL/rev/c1f32e587365