jellyfin-media-player icon indicating copy to clipboard operation
jellyfin-media-player copied to clipboard

Client is grabbing input from my Saitek Throttle

Open Marctraider opened this issue 3 years ago • 8 comments

Client is grabbing input from my Saitek Throttle and have to disable it in device manager to properly play movies without it seeking by itself.

I thought there was some new 'Controls' section to disable 'gamepad' support but I cannot see it anywhere except when i connect to server with web interface.

Marctraider avatar Dec 15 '21 14:12 Marctraider

There is a configuration folder where you can edit the input maps. You can also delete the jmpInputPlugin.js from the extension directory to disable input mapping.

iwalton3 avatar Dec 15 '21 14:12 iwalton3

Alright, sounds like a decent workaround.

Still not sure why the web client has a 'Controls' section where you can disable 'gamepad support' (aka joystick) but in the client this isn't possible through UI. I'm not sure why this is even enabled by default to begin with on a personal computer in desktop mode.

I think this should be off by default as plenty of people have game controllers hooked to their PC.

Thanks for the response though.

Marctraider avatar Dec 16 '21 19:12 Marctraider

Edit: I removed the file (First renamed which didn't work either) and my saitek throttle is still affecting seeking by itself.

Marctraider avatar Dec 17 '21 02:12 Marctraider

I had a similar issue, a temporary fix is adding window.navigator.getGamepads = null; to the end of nativeshell.js which prevents jellyfin-web from accessing the controller. Stupid but it works.

TheFeelTrain avatar Dec 17 '21 03:12 TheFeelTrain

That seems to suggest that the jellyfin-web implementation is the problem. Honestly the two likely conflict…

iwalton3 avatar Dec 17 '21 04:12 iwalton3

It is from jellyfin-web, that's why removing jmpInputPlugin.js doesn't help. As soon as 10.8 is out with the option to disable gamepads it should be fixed. Pretty sure he is running the 10.8 alpha which is why he has that option in the browser.

TheFeelTrain avatar Dec 17 '21 04:12 TheFeelTrain

I should make a dev build with that new web client. I think you could actually drop it in with some simple config changes.

iwalton3 avatar Dec 17 '21 04:12 iwalton3

It is from jellyfin-web, that's why removing jmpInputPlugin.js doesn't help. As soon as 10.8 is out with the option to disable gamepads it should be fixed. Pretty sure he is running the 10.8 alpha which is why he has that option in the browser.

Yea the server runs alpha 10.8.

I guess I'll wait for this to get fixed in the client as well then.

Marctraider avatar Dec 17 '21 14:12 Marctraider