FujiAPI / Fuji

Celeste 64 Mod Loader
30 stars 10 forks source link

Implementing Controller Rebinding, Refactoring Controls System and Reworking Button Icons #81

Closed jasminegamedev closed 4 months ago

jasminegamedev commented 4 months ago

This is still Work in Progress and is not ready to merge yet. This PR Implements Controller/Keyboard rebinding into the game. This includes new menus to handle the rebinding process, and reworking the backend systems as well to be able to support it. This also reworks how we determine button icons to be based on the key/button name.

Todo:

Resolves #52

jasminegamedev commented 4 months ago

I believe this is now working, and is ready to merge.

There may still be a few binding issues, but some of these come from Foster, so we may want to look into fixing them separately. Mainly, a few keyboard keys don't seem to get registered as "Pressed" correctly, like the Windows button and the numlock button. I think this is probably acceptable for now, but we can revisit it if people complain.

There's also a known bug in Foster with Controllers where the select and home buttons seem to be flipped. I have a temporary workaround for this, but we may need to follow up on this if it gets fixed in Foster.