Skip to content

Instantly share code, notes, and snippets.

@ericdoi
Last active October 5, 2018 09:28
Show Gist options
  • Select an option

  • Save ericdoi/3bf9c138eedd4b87c08103af25d3b463 to your computer and use it in GitHub Desktop.

Select an option

Save ericdoi/3bf9c138eedd4b87c08103af25d3b463 to your computer and use it in GitHub Desktop.
Adds SDL controller mapping for the iNNext USB SNES controller to PICO-8
# Adds an SDL controller mapping for the iNNext USB SNES controller to PICO-8.
# Amazon Link: http://a.co/138eRWB
# E.g. can be used on PocketCHIP: wget -O add_innext_mapping.sh https://goo.gl/YosH3I; source add_innext_mapping.sh
echo "03000000790000001100000010010000,USB Gamepad,platform:Linux,x:b3,a:b2,b:b1,y:b0,back:b8,start:b9,leftshoulder:b4,rightshoulder:b5,leftx:a0,lefty:a1," >> ~/.lexaloffle/pico-8/sdl_controllers.txt && echo "Added controller mapping!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment