PojavLauncherTeam/PojavLauncher

[F-Req] Controller Emulation in lue of Direct Controller binding

Open

#6400 aperta il 21 dic 2024

Vedi su GitHub
 (10 commenti) (1 reazione) (0 assegnatari)Java (1149 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (5279 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Is this request related to a bug?

Not to my knowledge,

Describe the request.

I noticed that the gamepad config screen supports the DPAD mappings, which is what lead me to this idea

Since from what I have gathered directly binding a controller to the game is not feasible, why not create a middleman handler simular to how the launcher is now?

have an option to instead of Remap say BUTTON_A to KEY_SPACE, a toggle that is just "emulate mapping", where pojav exposes a emulated controller to the game. Which would allow controller support mods (such as controllify) to add support for pojav launcher's controller implementation.

Anything else?

Controlify uses a forked Native Library for interacting with controllers, and even has dedicated steamdeck controller support, making it by far one of the better controller support mods on the platforms (cf/mr), so much so that a semi-popular mod/modpack, legacy4j/Re-Console, has a option to use Xander's SDL library instead of the default one. Because it tends to work better.

Exposing a emulated controller, as stated above, would allow Xander and/or other modders to build a library/mod meant for interacting with pojav's emu-controller, which would allow for mod/modpacks like the one stated, to work on the go with controllers like the Backbone,

Guida contributor