-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
[BUG] [Steam Deck] Doesn't detect the Deck controllers when launching through Steam #105
Comments
I will try investigating this as soon as I can but my first impression is that this might be an Electron issue. Chrome itself had issues with controller support on the Steam Deck, so we might have to wait until the fixes reach Electron. In any case, I'll know for sure when I can actually take a close look into it. |
This SHOULD be fixed now. Valve fixed it in one of their latest updates. |
If someone with a Steam Deck could confirm it would be great! |
I got on and just tested it and it works perfectly through the google chrome browser. the gfn-electron app does not sadly. |
Thanks! I'll only be able to do that in the weekend tho, not today. |
I have personally not used Electron in any of my projects yet but i took a quick look at the code and it doesn't seem that hard for me to learn quickly. So i'd love to help out 😄 I don't have a lot of time right now either but as soon as i have time in the next few days I'll get busy with it 😃 |
I updated Electron and it indeed fixed it. The Steam Deck controller now gets detected properly. I send in a pull request with Electron updated 😃. |
I am able to now properly use the steam keyboard to type in my password to login into games but a new issue has occurred which is that the joystick/buttons do not work anymore. I have to navigate with my trackpad on the steam deck but I can not do anything else but click and move a cursor around. I am on the latest version of 1.5.2. |
This is fixed in the pull request i submitted today #130 😊 When i wake up i will finish the last few things and the new version should be out asap! |
How do i install the newest version on steam deck? The one on the discover store doesnt work with controller yet... seems like its the older version. |
Is the one you installed from Flathub version 1.6.0? |
I dont think it is. It says version 1.6 (82mb) on the page but controller does not work in both desktop mode or steamos... whereas if i download the .zip or appimage directly from github, controller does work in desktop mode on the steam deck. (It does not launch through steamos though). |
This sounds like a permission issue. Flatpak apps run in a sandbox. Could you install Flatseal to manage permissions of Flatpak apps and give it permission to access devices? |
@strktt try setting the permissions like @ilovespicynoodles said. You can follow the instructions from Microsoft Edge (but use |
I used flatseal to give the electron 1.6 version access to devices... still doesnt work. I also put the command in but it says permission denied |
Alright added the command.. needed to put --user. Controller doesnt work after both flatseals access and that command |
Let me go get my steam deck and see if i can figure this out for you :) |
Alright cool. Imma catch some sleep its 4 am here. Ill try out any solutions if you find any in the morning. Appreciate the help! |
I figured it out. It was indeed a permission issue. @hmlendea I'm not sure how to add that permission to a flatpak at build though. |
@ilovespicynoodles I'm not sure either... but I will try researching this matter more. But for now I will add your instructions to the readme, and create a help page on the wiki that will also include your pictures (if you allow it) |
Sure no problem! 😊 |
It works! Thanks so much. Just to be clear.. for next time, do i just add the command in launch options or do all 3 steps (flatseal, the command in terminal, and launch options)? |
I have the following in the launch options box in steam using V1.7 from flathub. "run --branch=stable --arch=x86_64 io.github.hmlendea.geforcenow-electron flatpak override --filesystem=/run/udev:io.github.hmlendea.geforcenow-electron --filesystem=/run/udev:ro --user" and Ive enabled all devices in flatseal and the deck controller isn't working. Am I missing something? |
Thanks, adding the specific folder in flatseal fixed it. |
Closed as fixed. Feel free to comment and/or re-open this issue if it persists for you. |
Is this broken for anyone else again? Followed all instructions, but still not getting it to work :/ Can someone copy/paste their launch options here for me? Unsure if that's the piece that's breaking. I've attempted both the console approach and flatseal to give access to /run/udev:ro, neither made a difference. When I run the console command, should flatseal automatically update to show /r/udev:ro? That doesn't happen either, for some reason. |
Describe the bug
I am running this app through steam as a non-steam game so that the steam virtual controls can be passed through to the game. However, there seems to be an issue where the GeForce application does not see the controller and will only respond through keyboard inputs. Also, this issue may or may not be related to the issue mentioned above but when trying to type numbers into any game that is being streamed, only values of 1 are being sent.
To Reproduce
Screenshots
No response
Operatingsystem
SteamOS
Desktop Environment
SteamOS
Installation method
flatpak
Version
1.1.12
Additional context
No response
The text was updated successfully, but these errors were encountered: