Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controller inputs (PS5 Dualsense) incorrect #11

Open
NaccacheC opened this issue Apr 10, 2023 · 16 comments
Open

Controller inputs (PS5 Dualsense) incorrect #11

NaccacheC opened this issue Apr 10, 2023 · 16 comments
Labels
help wanted Extra attention is needed

Comments

@NaccacheC
Copy link

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.

@timkurvers
Copy link
Owner

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

@timkurvers timkurvers added the help wanted Extra attention is needed label Apr 12, 2023
@NaccacheC
Copy link
Author

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!

@timkurvers
Copy link
Owner

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.

@Ghostkwebb
Copy link

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

@wujekbogdan
Copy link

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

@Tarik1700
Copy link

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

@sandlotie
Copy link

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)

@ellkrauze
Copy link

@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?

@sandlotie
Copy link

sandlotie commented Dec 9, 2023

@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

@tbergeron
Copy link

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

@ellkrauze
Copy link

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.

@SIX10
Copy link

SIX10 commented Dec 23, 2023

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.

@ellkrauze
Copy link

ellkrauze commented Dec 24, 2023

@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

@ezamelczyk
Copy link

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

@ezamelczyk
Copy link

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.

@jacktho
Copy link

jacktho commented Mar 9, 2024

+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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests