Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

I found a workaround

Adding the following to my ~/.bashrc file

export SDL_GAMECONTROLLERCONFIG="03000000d11800000094000011010000,Stadia Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a5,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a4,rightx:a2,righty:a3,start:b7,x:b2,y:b3,"

That’s from https://github.com/libsdl-org/SDL/blob/98cc9cf208b6dff44b5d40d01ceb200f21f51a2a/src/joystick/SDL_gamecontrollerdb.h#L550 as inspired by https://wiki.archlinux.org/title/Gamepad#Using_hid-nintendo_with_SDL2_games