Skip to content

Instantly share code, notes, and snippets.

@clayote
Created June 2, 2018 19:38
Show Gist options
  • Save clayote/65969add9e20dd34a13f0916951aaa06 to your computer and use it in GitHub Desktop.
Save clayote/65969add9e20dd34a13f0916951aaa06 to your computer and use it in GitHub Desktop.
Problems getting 8bitdo pro controllers to work on Linux
Both the FC30 Pro and the SN30 Pro are detected by Ubuntu, and are usable insofar as all of the buttons and axes they do have are all present. However, they both present a pair of axes that look like pedals, but which aren't really on the controller. Instead, these axes default to -32767 and flip to positive 32767 when some buttons are pressed -- buttons that are already accounted for by some other input.
Axis 4 flips when I press right on the D-pad or the L2 button (button 8).
Axis 5 flips when I press left on the D-pad or the R2 button (button 9).
The controllers also appear to have 14 buttons, but I can only really press 12. Buttons 2 and 12 cannot be pressed. I thought these would be the Star and Home buttons, but pressing those does nothing, and these extra buttons are not present on the FC30 Pro.
It's sometimes possible to work around this with remapping, but the inability to press button 8 without flipping axis 5 makes it impossible to do this in an automated fashion; you have to use something like xboxdrv on the command line, which requires sudo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment