hmlendea / gfn-electron

Linux Desktop client for Nvidia's GeForce NOW game streaming service
GNU General Public License v3.0
531 stars 64 forks source link

Gamepad not supported #22

Closed safak45x closed 3 years ago

safak45x commented 3 years ago

Is it a problem for me, or is it due to my application?

hmlendea commented 3 years ago

It was working well while testing the app in a previous release. I don't have a gamepad with me right now to re-test though :( But I'll do it as soon as I can.

What gamepad are you using?

safak45x commented 3 years ago

https://www.monsternotebook.com.tr/pusatgamepad/monster-pusat-pro-gaming-gamepad/

safak45x commented 3 years ago

Buddy i have to say The work you do is seriously revolutionary for linux Maybe not many people know because it's new now But as the number of users increases, you will understand what I mean.

bachulator commented 3 years ago

Having same problem. Generic Dinput not working. The gamepad seems to be working in other apps normally.

ggtylerr commented 3 years ago

Same problem here. Using a switch pro controller, but with Steam on the background with a basic gamepad setting for desktop. Seems to work fine on Gamepad Tester and the web version of GeForce NOW.

hmlendea commented 3 years ago

So far I haven't got a solution for this

PeterTucker commented 3 years ago

Bump. XBox One S controller does not work.

N3rdB01-1 commented 3 years ago

Unable to use GameSir Pro controller either. I notice it does work if I use the extension for Chrome browser to play GeForce Now. Possibly may look at that extension to see what they are using to call out the sub routines? I am able to also use it in the steam client but not on games I have installed through Steam on GeForce Now.

seitbekir commented 3 years ago

So, As I used an App, this fully support gamepad. You only need to run Steam, for example. It provides the driver you need.

Angel-Tube commented 3 years ago

@hmlendea what controller are you using? doesnt work for me. i use some kind of old logitech controller.

hmlendea commented 3 years ago

@Angel-Tube XBox One Controller (Wireless)

Angel-Tube commented 3 years ago

Perhaps I should inquire how you set it up. Is it practically 'plug and play' even though it is wireless? Should we be seeing some sort of popup?

Mine is wired by USB, btw.

hmlendea commented 3 years ago

Hi so no popup on my end or anything like that. It just works.

I will soon get a generic chinese bluetooth gamepad and will try to see how that one behaves. I will also try with an old cabled SNES clone gamepad but I'm not sure if that is even a good test at all since it's a very niche gamepad and not really intended for this use case.

Jollaholisti commented 3 years ago

Controllers doesn't work on this "app". Seems that this "app" is using some poorly supporting browser version behind it that doesn't support controllers. I hope this app gets at least Google Chrome/Chromium versions running under hood in near future. Now it's much better to use only Google Chromium to play GFN. - Linux User

ggtylerr commented 3 years ago

@Jollaholisti Yes, everyone here knows that. That's why this is using Electron, a framework meant to have desktop apps using a web browser. There are plenty of other apps that you might use that also uses it (or its mobile equivalent, React Native.) It's not the best solution (far from it), but it's the only method of bringing GFN onto a third-party app (without reverse-engineering their software.) If you want to use chrome/browsers instead of this app, that's fine. This is just here for anyone that does want to use an app.

This app already uses chromium - and I'm assuming it might just be an outdated version of Electron. But I rarely develop with it.

(Also, no need to mention you're a linux user. Everyone has to use it in order for the app to function.)

ripper81 commented 3 years ago

Same here controller is not detected. However it is not working with chromium either.

Jollaholisti commented 3 years ago

I have no issues to use controllers on Chromium. All other not pure Google browsers got only that kind of issues.

ti 11. toukok. 2021 klo 18.52 ripper81 @.***) kirjoitti:

Same here controller is not detected. However it is not working with chromium either.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hmlendea/geforcenow-electron/issues/22#issuecomment-838725164, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADTZ4X57QDGELIWD2XEJP7TTNFHDPANCNFSM4TJREY7A .

sutterkaine75 commented 3 years ago

Appimagine works on the gamepad 360 so snap don't.

predr commented 3 years ago

@hmlendea Regarding snap, you need to add joystick plug. This is required for snap app to see controllers. Publisher in the Snap Store can request an auto-connect, otherwise users must connect it manually.

snap connect geforcenow:joystick
error: snap "geforcenow" has no plug named "joystick"

I think something like this:

"build": {
  ...
  "snap": {
    "plugs": [
      "default",
      "joystick"
    ]
  },
  ...
}

https://www.electron.build/configuration/snap#SnapOptions-plugs https://snapcraft.io/docs/joystick-interface

N3rdB01-1 commented 3 years ago

It only seems to work using the flatpak if I have steam. The other issue I am running into is the full screen seems to be borked.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: predr @.> Sent: Sunday, July 4, 2021 12:26:27 PM To: hmlendea/geforcenow-electron @.> Cc: N3rdB01-1 @.>; Comment @.> Subject: Re: [hmlendea/geforcenow-electron] Gamepad not supported (#22)

Regarding snap, you need to add joystick plug. This is required for snap app to see controllers. Publisher in the Snap Storehttps://snapcraft.io/geforcenow can request an auto-connect, otherwise users must connect it manually.

snap connect geforcenow:joystick error: snap "geforcenow" has no plug named "joystick"

I think something like this:

"build": { ... "snap": { "plugs": [ "default", "joystick" ] }, ... }

https://www.electron.build/configuration/snap#SnapOptions-plugs https://snapcraft.io/docs/joystick-interface

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/hmlendea/geforcenow-electron/issues/22#issuecomment-873621274, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APK4PK6YDGKJ4XGP4BIXIYLTWCDTHANCNFSM4TJREY7A.

hmlendea commented 3 years ago

@predr update comming soon with the fix you mentioned @N3rdB01-1 could you please detail the fullscreen issues in another issue? An existing one if it fits there or a new one otherwise

hmlendea commented 3 years ago

Version 1.1.4 released with #65. Closing this issue for now. Please feel free to reopen in case the gamepad issues persist.