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

Gamepad not working in browser #5445

Open
ihatetoregister opened this issue May 2, 2024 · 2 comments
Open

Gamepad not working in browser #5445

ihatetoregister opened this issue May 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ihatetoregister
Copy link

ihatetoregister commented May 2, 2024

Describe The Bug

I want to navigate the jellyfin web UI with gamepad.

Steps To Reproduce

  1. Connect game controller
  2. Load the jellyfish web UI in brower (tested wit Safari and Firefox)
  3. Try navigate UI with game controller

Expected Behavior

Navigate UI with game controller

Logs

Can be provided on request

Screenshots

System (please complete the following information):

  • Platform: Server (Linux, Ubunu), Client (MacOS)
  • Browser: Safari and Firefox
  • Jellyfin Version: 10.8.13

Additional Context

Trying to figure out why it does not work as the feature is supposed to implemented:


_ButtonPressedState.setgamepadB = function (newPressedState) {

// Gamepad initialisation. No script is required if no gamepads are present at init time, saving a bit of resources.

Could not find the setting mentioned, maybe I'm just blind. I just have a feeling this is not implemented in the server itself, but in the desktop app layer? Could someone confirm this?

Game pad is working fine with Xbox Cloud Gaming and this test page:
https://gamepadtester.net/

Related
#5016

@ihatetoregister ihatetoregister added the bug Something isn't working label May 2, 2024
@ihatetoregister
Copy link
Author

ihatetoregister commented May 2, 2024

Ok, after a few hours of fiddling it seem to work, it's just very well hidden. For future reference, here is how to enable it:

  1. Setting -> Display -> Display mode: TV
  2. Reload
  3. Settings -> Controller -> Enable gamepad
  4. Reload

Could we enable this by default maybe?

@dmitrylyzo
Copy link
Contributor

Could we enable this by default maybe?

No. TV mode is designed for TVs. It lacks some features that Desktop and Mobile have. For example, there's no Dashboard.
So it is up to the user to enable the TV mode.

In case you are using Jellyfin Media Player: AFAIK, you can run it with the "tv" option (not sure what it's called), then TV mode will be selected automatically.

FYI, keyboard (gamepad) navigation is only available in TV mode, as there is no focus indicator in Desktop and Mobile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants