Steam 설치
로그인
|
언어
简体中文(중국어 간체)
繁體中文(중국어 번체)
日本語(일본어)
ไทย(태국어)
Български(불가리아어)
Čeština(체코어)
Dansk(덴마크어)
Deutsch(독일어)
English(영어)
Español - España(스페인어 - 스페인)
Español - Latinoamérica(스페인어 - 중남미)
Ελληνικά(그리스어)
Français(프랑스어)
Italiano(이탈리아어)
Bahasa Indonesia(인도네시아어)
Magyar(헝가리어)
Nederlands(네덜란드어)
Norsk(노르웨이어)
Polski(폴란드어)
Português(포르투갈어 - 포르투갈)
Português - Brasil(포르투갈어 - 브라질)
Română(루마니아어)
Русский(러시아어)
Suomi(핀란드어)
Svenska(스웨덴어)
Türkçe(튀르키예어)
Tiếng Việt(베트남어)
Українська(우크라이나어)
번역 관련 문제 보고
export SDL_GAMECONTROLLERCONFIG="030000006d0400001fc2000005030000,Logitech F710 Gamepad (XInput),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:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3"
might do the trick (untested). See:
https://github.com/gabomdq/SDL_GameControllerDB/blob/master/gamecontrollerdb.txt
This environment variable is what you used to be able to configure in Steam via Big Picture Mode. To find out the SDL GUID for the controller one can use:
https://github.com/Grumbel/sdl-jstest/
It's all kind of nasty and error prone and I'd really like to know why that configuration is gone, as that made things super simple.
jstest doesn't seem to spit out a GUID
https://github.com/Grumbel/sdl-jstest/
$ sdl2-jstest --list
Found 1 joystick(s)
Joystick Name: 'Microsoft X-Box 360 pad'
Joystick GUID: 030000005e0400008e02000010010000
Joystick Number: 0
Number of Axes: 6
Number of Buttons: 11
Number of Hats: 1
Number of Balls: 0
GameController:
Name: 'X360 Controller'
Mapping: '030000005e0400008e02000010010000,X360 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:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,'
*using the suggestion in your 2nd post with the userspace xboxdrv seems to fix everythign for me
export SDL_GAMECONTROLLERCONFIG="0000000058626f782047616d65706100,Xbox Gamepad (userspace driver),platform:Linux,a:b0,b:b1,x:b2,y:b3,start:b7,back:b6,guide:b8,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftshoulder:b4,rightshoulder:b5,lefttrigger:a5,righttrigger:a4,leftstick:b9,rightstick:b10,leftx:a0,lefty:a1,rightx:a2,righty:a3"
thanks
Ahh that's great, thanks for letting me know, I was actually researching and found out that Steam Linux packs its own SDL libs and that may be the reason as well, so even if I where to compile it againt another SDL version the one in steam might take precedence, need to investigate this further. Anyway, it's a fix for now. If you want to do a separate thread to inform other users of this fix I can put it in a sticky note :)