Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Hi! Yes, I'm the any other Linux user who has this problem! How did you adjust your SDL_GAMECONTROLLERCONFIG environment variable? I would like to know! Also I can't actually get the right stick to do anything and that would also have been a great thing to remedy! Any assistance would be greatly appreciated!

I first used SDL2 Gamepad Tool to generate a valid config (other programs can do this too, antimicrox for instance), then I added a tilde (~) at the end of my right analog's X and Y axes which inverts the inputs. Last, inside Lutris I added the environment variable SDL_GAMECONTROLLERCONFIG for the game, and pasted the long config line as the value. I'm sure all game launchers support custom environment variables.

For reference my controller config looks like this (all one line): 
030081b85e0400008e020000140100001118654Controller,Xbox 360 Controller,platform:Linux,a:b1,b:b0,x:b3,y:b2,back:b6,start:b7,guide:b8,leftshoulder:b4,rightshoulder:b5,leftstick:b9,rightstick:b10,leftx:a0,lefty:a1,rightx:a3~,righty:a4~,lefttrigger:a2,righttrigger:a5,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,

(+1)

Thank you so much, that's a great help! Got it working through another method but thanks a ton!