Playnite icon indicating copy to clipboard operation
Playnite copied to clipboard

Share information about connected controllers as variables for scripts

Open ld892012 opened this issue 7 months ago • 2 comments

Feature description

Hello.

It is possible to share connected controller's port and guid for a scripting use ? This can recognize the connected controller and make it usable with the game being played, for example, automatically enabling/disabling an Xbox emulation with the right profile if the game only supports the Xbox controller, or selecting the right input profile in an emulator without any manual intervention.

Screenshots

No response

ld892012 avatar Dec 17 '23 08:12 ld892012

Wouldn't this make sense only if you actually switch between multiple controller types all the time? Is that actually the case?

JosefNemec avatar Dec 17 '23 08:12 JosefNemec

This is maybe useful in some cases :

  • when a game is multiplayer and everybody had his controller, not everybody had/wants an xbox controller
  • when a PC is used by some persons (and each person had his type of preferred controller)
  • when an emulated game can use (or not) motion controls, specific controller is needed but not all games support natively non-xinput controllers
  • when an emulated game can use his original controller, for example a Wii game can use a real Wiimote or a controller, this permit to use the good input profile in function of connected controller without have to manually change it

ld892012 avatar Dec 17 '23 09:12 ld892012