Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

archaeaphile

3
Posts
36
Following
A member registered Sep 17, 2014

Recent community posts

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

(1 edit)

Hi hi! On Linux, my Stadia controller (connected via USB) is not recognized.

It does work on https://gamepad-tester.com/ which reports: Google Stadia Controller 18d1-9400-Google LLC Stadia Controller rev. A

Maybe rebuilding using a newer version of Unity and/or SDL would fix this? I’m happy to test a debug build.

Doing some searching I found https://gist.github.com/sim2kid/0fdf296e9654bbc0267ea530642d7fa9

Thanks for the great game!

Here is a more detailed error message I found in logcat

[2] nie.onReceive(15): Error -504 while installing com.FYMMG.DDSE: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl153261132.tmp/base.apk (at Binary XML file line #54): com.unity3d.player.UnityPlayerActivity: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present