feat: controller layout presets and camera inversion #372
No reviewers
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot!372
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/controller-remapping-and-quality-presets"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary of Changes
As requested by @NotRexed, this PR has been rebased and adapted on top of the in-game bindings system (#335 -> #343 -> #350) and recent main commits. The hardware quality presets have been extracted to be submitted separately in a dedicated PR.
1. Quick Controller Layout Presets (built on top of the bindings system)
2. Right-Stick Camera Inversion
🧪 Verification Report
LGTM
Thanks! Controller rebinding just landed through #335 -> #343 -> #350 (a Controls page in the Insert menu, bindings in hookshot_options.ini), and #359 adds input in the background, so this now overlaps them. Could you rebase on main and keep what they don't cover (camera inversion, the layout presets on top of the new bindings)? The quality presets would be better as their own PR: the 7.5-11 GB texture budgets need testing on 8-12 GB cards, where running out of VRAM is already the top cause of device-lost reports (#132, #150).
@NotRexed Thanks for the guidance! Rebased and updated:
Layout presetselector (Nintendo (Default),Xbox / PC Standard,Swap Face Buttons, andCustom) integrated directly on top of the bindings infrastructure (host->bind). Changing the preset instantly updates the bindings and saves tohookshot_options.ini; customizing any button in theControls >sub-page automatically switches the preset row toCustom.Invert camera XandInvert camera Yoptions wired across both XInput (host/nn_hid.c) and SDL2 (host/pad_sdl.c) backends.Rebased on top of #350 as requested!
Just a heads-up regarding the conflict indicator shown by GitHub: because PR #350 is currently open and has not yet been merged into main, GitHub is comparing this branch against the current main (which does not yet have #350's input rebinding foundation). Once #335 / #343 / #350 land on main, this PR will merge cleanly without conflicts.
Also, the hardware quality presets have been completely extracted into #398 to keep this PR strictly focused on controller presets and camera inversion.