valheim-macos icon indicating copy to clipboard operation
valheim-macos copied to clipboard

Controller inputs (PS5 Dualsense) incorrect

Open NaccacheC opened this issue 2 years ago • 16 comments

When using a dualsense controller, the game recognises the controller but the inputs are all jumbled. Input is fine within Steam Big Picture. When the game is launched, Steam recognises the dualsense controller, and an Xbox 360 controller that shows no inputs.

NaccacheC avatar Apr 10 '23 23:04 NaccacheC

Hm, bit out of my depth here. I am assuming that controller works just fine for other Steam games?

timkurvers avatar Apr 12 '23 21:04 timkurvers

Yeah sorry, should have mentioned that. The controller works fine both with and without steam controller support in other games. Hoping someone else might be able to chip in, thanks!

NaccacheC avatar Apr 14 '23 11:04 NaccacheC

Another user mentioned they got the Steam Overlay working by adding Valheim as a non-Steam game. Not sure if the overlay matters for controller input, but worth a shot.

timkurvers avatar Apr 20 '23 15:04 timkurvers

Well the game doesn't even detect my ds4 for some reason

Ghostkwebb avatar May 29 '23 09:05 Ghostkwebb

The same applies to Xbox Series X controller. It is recognized, but the mapping is off.

wujekbogdan avatar Jun 09 '23 15:06 wujekbogdan

Same issue here, dualsense is fine in macos and steam, but in game the up and down of right joystick is not mapped or recognized at all

Tarik1700 avatar Sep 17 '23 08:09 Tarik1700

Same thing, but if you use Steam Input and replace everything with keyboard buttons, and use the joystick as a mouse, it works without any problems, as if the game itself does not understand gamepad input. (DualSense)

proteida avatar Nov 16 '23 04:11 proteida

@sandlotie Hello! Would you kindly share the details how exactly did you "replaced everything with keyboard buttons, and used the joystick as a mouse" in the Steam Input?

ellkrauze avatar Dec 09 '23 17:12 ellkrauze

@sandlotie Hello! Would you kindly share the details how exactly did you "replaced everything with keyboard buttons, and used the joystick as a mouse" in the Steam Input?

@ellkrauze I moved Valheim.app to applications folder, open Steam for mac and just go to Steam Library -> Valheim -> Properties -> Controller -> Steam Input turn on and after this you see Controller button on Valheim page in library. You click on this button and a menu opens to select the controller layout and you can either create your own or find a suitable layout in the community layouts that uses the keyboard buttons instead of the controller buttons. Although Steam overlay doesn't work in the game itself, but after starting the game it shows that I'm playing Valheim and the layout selected in Steam Input is applied.

Personally, the layout of Valheim Controls from mugg455 suited me best after some minor changes. Although the interaction with menus, like chests and inventory can be frustrating. But overall it's playable. If I'm not clear about something, then tell me image

proteida avatar Dec 09 '23 18:12 proteida

Same thing here with a DS4 nothing works. Wish I could use it.

tbergeron avatar Dec 19 '23 15:12 tbergeron

The Xbox controller works well when connected via Bluetooth. If you connect it correctly, you can move the cursor with the right stick. However, the game itself is not controller friendly.

ellkrauze avatar Dec 19 '23 15:12 ellkrauze

The Xbox controller works well when connected via Bluetooth. If you connect it correctly, you can move the cursor with the right stick. However, the game itself is not controller friendly.

What is your method for connecting the Xbox controller to Bluetooth? I've found multiple ways for MacOS and they've all been janky for me so far.

SIX10 avatar Dec 23 '23 21:12 SIX10

@SIX10 I usually connect my Xbox controller the following way:

  1. Press and hold the controller's Connect button for a few seconds to put the controller into pairing mode. This makes it discoverable by your Apple device.
  2. Open Bluetooth settings on your macbook, then select the controller from the list of nearby devices.
  3. Now the cursor can be moved using the right stick. image image

ellkrauze avatar Dec 24 '23 14:12 ellkrauze

My dualsense is not picked up at all by valheim. Works fine in other games native and under wine.

ezamelczyk avatar Jan 21 '24 02:01 ezamelczyk

I do have to admit that I'm very impressed by this project. With fixed controller handling IG could confidently put it up on steam as a port and I don't think people would've complained at all. It's running very well on my m1 pro. I imagine with proper metal support and arm build it will be buttery smooth.

ezamelczyk avatar Jan 21 '24 04:01 ezamelczyk

+1 for the Switch Pro Controller

It does work if I stream the game with remote play from windows to the mac with the gamepad connected to the mac. All the mappings then work just like in Windows.

jacktho avatar Mar 09 '24 15:03 jacktho

Closing this issue as the official macOS client is now available! 🥳 (see #104)

timkurvers avatar Jul 22 '24 15:07 timkurvers