Easy way to implement controller remapping?

I can achieve remapping using InputMap, config files, a virtual input system, and a bunch of other stuff, but it's kind of pain tbh. Not hard just a lot of code and layers.

Has anyone made a plugin that makes controller remapping simpler in Godot?

With how much work it is to implement, it makes it kinda low ROI for a project, but I feel bad for users bc it's basically the default for all games now to have remapping.

13 points · 5 comments · view on lemmy.world

5 Comments

themoonisacheese@sh.itjust.works · 2 pts · 3y

If you're going to have your game on steam the API takes care of that for you.

ChildEater@iusearchlinux.fyi · 2 pts · 3y (1 reply)

Has anyone made a plugin that makes controller remapping simpler in Godot?

Godot Game Settings might interest you. It's not specifically for input as it's a general settings helper, but it still covers input.

KindaABigDyl@programming.dev · 1 pts · 3y

That looks pretty sick, thanks!

fsk@lemmy.world · 1 pts · 3y

This was on my list of things to do for my own game, but that's going to be awhile before it's finished.

The way I would do it is have a global Input singleton, and have a lookup table maintained in a SQLite database.

poVoq@slrpnk.net · 1 pts · 3y

No idea, but this Godot based project seems to include something like that: https://github.com/ShadowBlip/OpenGamepadUI