Skip to content

Instantly share code, notes, and snippets.

@trickart
Created March 16, 2016 15:07
Show Gist options
  • Save trickart/21ae65beb3b6c5350925 to your computer and use it in GitHub Desktop.
Save trickart/21ae65beb3b6c5350925 to your computer and use it in GitHub Desktop.
Linux SteamのSkullgirlsでコントローラー使えるようにするやつ
#!/bin/bash
export SDL_GAMECONTROLLERCONFIG="030000009d0d00001330000010010000,HuiJia 4Axes 12Key GamePad,platform:Linux,x:b2,a:b0,b:b1,y:b3,back:b8,start:b9,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,dpup:h0.1,leftshoulder:b4,lefttrigger:b5,rightshoulder:b6,righttrigger:b7,leftstick:b10,rightstick:b11,leftx:a0,lefty:a1,rightx:a2,righty:a3,"
steam steam://rungameid/245170
[Desktop Entry]
Name=Skullgirls
#Exec=steam steam://rungameid/245170
Exec=/home/trick/.local/bin/skullgirls
Icon=steam_icon_245170
Terminal=false
Type=Application
Categories=Game;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment