The Cave > 一般討論 > 主題細節
Rattman Walking 2013 年 01 月 25 日 @ 下午 9 時 03 分
Controller not working at all [Mac]
So I'm using a Rock Candy Xbox360 wired controller, and had to patch the driver using the patch [here](http://shoryuken.com/forum/index.php?threads/updated-360-controller-mac-driver-hori-ex2-mad-catz-sfiv-sticks.65118/page-8) for *ANY* steam or games to see it. The Cave does not seem to see the controller at all. No matter what button I push on the controller, it only works in keyboard/mouse mode. Suggestions?

Edit: kpumuk has solved the problem in post #4 below, and olliebrown has automated it in #6. Thanks guys!
最後修改者:Rattman Walking; 2013 年 02 月 9 日 @ 下午 6 時 51 分
顯示 1-15,共 16 則回應
< >
Overlord 2013 年 01 月 26 日 @ 上午 12 時 22 分 
I would first check out the Gamepad Companion, after that(if it isn't workin) try another controller ?
Lobovski 2013 年 01 月 26 日 @ 上午 1 時 52 分 
I have the same problem with a wired 360 controller and i'm on windows 7..yet every other game is working fine ..?
olliebrown 2013 年 01 月 27 日 @ 上午 9 時 21 分 
I'm getting the same thing. I just moved heaven and earth (aka, debugged the source for tattiebogl's xbox 360 driver) so my PDP Afterglow controller would work only to find that The Cave is not recognizing it for some reason. Has anyone gotten an xbox 360 controller working in The Cave for Mac (a genuine Microsoft one or a 3rd party one)? Right now I can confirm that my controller (a PDP Afterglow 360 controller) shows up as a standard USB HID peripheral and the tattibogl driver grabs it and makes it into a standard controller available for games to use.

Update: INTERESTING!! My controller works with Steam under 'Big Picture' mode (very sweet) but The Cave does not respond to it at all. I'm going to post about this over in the Double Fine Forums and see if they can help.
最後修改者:olliebrown; 2013 年 01 月 27 日 @ 上午 9 時 25 分
kpumukus 2013 年 01 月 29 日 @ 下午 1 時 19 分 
This is easy to fix:

1. Configure your controller in Big Picture, make sure everything works there

2. Open "~/Library/Application Support/Steam/config/config.vdf" And find a line which looks like:

"SDL_GamepadBind" "891600000000000000fd000000000000,Razer Onza TE,a:b0,b:b1,y:b3,x:b2,start:b8,guide:b10,back:b9,leftstick:b6,rightstick:b7,leftshoulder:b4,rightshoulder:b5,dpup:b11,dpleft:b13,dpdown:b12,dpright:b14,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,"

Copy the second value without quotes

3. Open "~/Library/Application Support/Steam/SteamApps/common/TheCave/Cave.app/Contents/Resources/Data/Config/SDLGamepad.config" and paste the value there. For my Razer Onza it looks like this:


6d0400000000000018c2000000000000,Logitech Rumble Pad 2(Mac),a:b1,b:b2,y:b3,x:b0,start:b9,back:b8,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7,

891600000000000000fd000000000000,Razer Onza TE(Mac),a:b0,b:b1,y:b3,x:b2,start:b8,guide:b10,back:b9,leftstick:b6,rightstick:b7,leftshoulder:b4,rightshoulder:b5,dpup:b11,dpleft:b13,dpdown:b12,dpright:b14,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,

# Linux Configurations
030000006d0400001ec2000020200000,Logitech Rumble Gamepad F510(Linux),a:b0,b:b1,x:b2,y:b3,start:b7,back:b6,guide:b8,leftstick:b9,rightstick:b10,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,

(I inserted it before "Linux Configurations" section)

Good luck!
olliebrown 2013 年 01 月 29 日 @ 下午 2 時 07 分 
HA! I totally just discovered this solution on my own (by digging through the app bundle). Seriously just saw your comment after I had successfully used the gamepad for the first time in game.

But yes, this is the problem. SDL2 see's it as a Joystick but won't let it be a true 'Gamecontroller' until it knows the proper button mapping. On the mac, only genuine XBox and PS3 controllers do that out of the box. Double Fine added a couple of mappings for Logitech controllers but not much beyond these basic profiles. If you know it works on you computer (i.e. you've used it in Steam Big Picture mode) then the above process should do the trick every time.

Thanks for the reply!
Seth B.
olliebrown 2013 年 01 月 30 日 @ 上午 7 時 48 分 
I wrote up a script to do this on a Mac. It should work for Linux too with some changes. Right now I just have it looking in the default OSX locations for config.vdf and SDLGamepad.config which will almost certainly not work on Linux (particularly the SDL file).

My one caution is that if you do a integrity check of the game files in Steam it will detect the change and re-download this file erasing your change. So, this file might get wiped back to the original with an update or if Steam decides to check the game for you. In this case, the script is a much faster way to get the proper settings back in there.

Script is here: http://pastebin.com/vPU7LS6M

Happy spelunking!
Seth B.
olliebrown 2013 年 01 月 30 日 @ 下午 12 時 46 分 
Just a quick note that I updated the script so that it will now be happy if you change your bindings in Steam big picture. It will recognize that the controller is already in there and avoid creating a duplicate entry.
renko 2013 年 02 月 3 日 @ 下午 12 時 21 分 
Question: How did you get Big Picture Mode to work on thisgame? It won't pop up on my television for some reason.
olliebrown 2013 年 02 月 4 日 @ 下午 7 時 29 分 
Hmm, I'm not sure what you mean. Big Picture is part of Steam, you launch it with the big button in the upper right of the steam window. In the big picture menu The Cave should just be listed (if it's installed) and you should just be able to launch it and have it work. That's been my experience anyways.
DFJustin 2013 年 02 月 10 日 @ 上午 11 時 21 分 
You guys. I like you and the work you do, so I'm putting this in our FAQ until I can update the game on Monday. Thanks! (I also like the dude who let me know about this thread specifically. Nate, you are a good guy.)
crazymonito 2013 年 04 月 3 日 @ 下午 6 時 48 分 
Thanks for posting this! I was having the same issue with a Logitech F710 on Linux and this fixed if for me. Just in case any Linux users end up here, here are the paths:

~/.steam/steam/config.vdf
~/.steam/steam/SteamApps/common/TheCave/Data/Config/SDLGamepad.config

The other instructions are exactly the same.
STiAT 2013 年 04 月 8 日 @ 上午 3 時 13 分 
Interestingly, my gamepad works in the big picture mode, but only not in The Cave. But I don't have the given configuration in the config.vdf of Steam, which makes me wonder why my gamepad works at all :D.
STiAT 2013 年 04 月 8 日 @ 上午 6 時 23 分 
Okay, got it, the proper configuration for DualAction Gamepad would be:
030000006d04000016c2000010010000,Logitech DualAction,a:b1,b:b2,y:b3,x:b0,start:b9,guide:b8,leftstick:b10,rightstick:b11,leftshoulder:b6,rightshoulder:b7,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftx:a0,lefty:a1,rightx:,righty:a2,lefttrigger:b4,righttrigger:b5,"

You can of course switch the shoulder/trigger, I was not sure if shoulder is the upper or lower one (i took the lower ones). But that won't matter in TheCave.
最後修改者:STiAT; 2013 年 04 月 8 日 @ 上午 6 時 31 分
Josh_OTI 2013 年 04 月 28 日 @ 上午 9 時 18 分 
Hi guy, I'm really hoping you can help me, I'm using a Rock Candy Xbox 360 wired controller and am having the problem that it doesn't detect the controller. It doesn't seem to be detected on steam in big picture mode and after installing the tattieboggle controller bit it still doesn't get detected. I've tried adding the new list with more controllers etc but nothing I seem to do works. Does anyone have any ideas?
「Epitaph」 2013 年 07 月 7 日 @ 上午 7 時 52 分 
Using Afterglow and never had a problem :D
顯示 1-15,共 16 則回應
< >
每頁: 15 30 50