PojavLauncherTeam/PojavLauncher

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

Open

#6.400 aberto em 21 de dez. de 2024

Ver no GitHub
 (10 comments) (1 reaction) (0 assignees)Java (1.149 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (5.279 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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,

Guia do colaborador