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

Steam game doesn't recognize joystick/gamepad #108

Open
jackunity69 opened this issue Jun 25, 2024 · 8 comments
Open

Steam game doesn't recognize joystick/gamepad #108

jackunity69 opened this issue Jun 25, 2024 · 8 comments

Comments

@jackunity69
Copy link

Description

I already check the joysticks and gamepads after configuring the instance in the GUI, steam does recognize my gamepad but the game is not. Do you know how to solve this? Thank you.

[common]
executable_name = "/usr/bin/steam"
share_local_time = false
filter_disk_sync = false
dbus_name = ""

[x11]

[wayland]

[network]

[pulse_audio]

[home_share]
home_paths = [
    "/home/user/.local/share/Steam/steamapps",
]

[direct_rendering]
enable_aco = false

[systray]

[joystick]

[root_share]
paths = []
read_only_paths = [
    "/sys/devices/system/cpu",
]

[pipewire]

@igo95862
Copy link
Owner

Hello @jackunity69

I would recommend spawning a terminal inside the sandbox. For example using alacritty: bubblejail run steam alacritty

Using terminal you can use the jstest to see if any controllers are detected. (or any other equivalent programm that tests controllers)

The current controller algorithm is very error prone and should be reworked using udev. See #16

@jackunity69
Copy link
Author

I tried jstest inside the sandbox it does recognize the gamepad, however the game still not. Maybe I'll try not to share home directory and download the game inside the sandbox. Thank you for the update though!

@igo95862
Copy link
Owner

igo95862 commented Jun 27, 2024

Maybe I'll try not to share home directory and download the game inside the sandbox.

I doubt that it will change anything.

The biggest issue will be if the game uses udev to enumerate controllers. In that case only passing entire udev socket would work.

@igo95862
Copy link
Owner

By the way does the Steam itself recognize the gamepad? I think if you go to options there should be gamepad options.

Also try disabling the Steam Input.

@jackunity69
Copy link
Author

Yeah I've done that, still no works with the game. Steam does recognize the gamepad.

@odomingao
Copy link

I have this issue as well. Works fine with sandboxed native emulators, however no WINE game will recognize the controller.

@igo95862
Copy link
Owner

igo95862 commented Jul 4, 2024

Probably something changed about how wine detects controllers. This needs to be investigated.

Hmm... Do an old Proton versions detect controllers? They definitely worked for me back when I started bubblejail in 2019.

@odomingao
Copy link

I couldn't find any game that would run with older Proton (6 and below) - if anyone knows of a game that is known to work, I'll test and report back.

Steam itself now also doesn't detect my controller anymore, though it used to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants