Button Mapping Mixup (Steam Input Involved) #1583
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#1583
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Hookshot version
v.2.0.11
What kind of problem
Sound, controls or saves
What happened
For context, I launch the Hookshot.exe (in the bin file) through Steam in order to have Steam Input enabled with my Switch 2 pro controller. Doing this without Steam Input means the game doesn't detect my controller.
Main Issue: pressing A and B perform the same action, but they also perform the OTHER's interactions, although every other press. For example; B will almost always jump, but it'll also act as the A button for interactions. A will mainly behave like the B button and will jump when I meant to roll, or will skip dialogue scrolling when I didn't mean for it to.
Trying to bind these in the recomp menu labels both buttons as the "bottom" button.
What I just found out is that this happens with the Y and X button, too. They both are labeled as the "Left" button, and will not only perform the same action, but sometimes the other's actions, same with A and B. Swapping these buttons in the in-game menu just swaps the A and B issue with the X and Y issue, and vice versa.
Where in the game
Kokiri Forest
How often
Every time
Graphics card and driver version
NVIDIA GeForce RTX 5060-Ti, NVIDIA 621.14.0.0, Vulkan 1.4.357
CPU, RAM and operating system
AMD Ryzen 7 5700X, 32GB RAM, Windows 11 26H2
Changes from the defaults
I only swapped around the face buttons in the controls menu, and I played around with the presets to no avail.
Other software hooked into the game
No, nothing hooked in
hookshot_log.txt
hookshot_log.txt
Screenshots or video
No response
Before you send it
Thanks for the detailed report. Through Steam Input the game doesn't see the Switch 2 Pro Controller itself, only Steam's virtual controller, so when A and B both show up as "bottom" in the Controls page, two buttons are reaching the game as the same button. That points at Steam's mapping for this game. Two things would help pin it down:
hookshot_log.txt(next tohookshot.exe) from a run with the controller connected. Itshid:lines name the controller SDL sees and its type.With those I can tell whether Hookshot needs to read Steam's virtual pad differently.
hookshot_log.txt
Tested it out with enabled & disabled Nintendo Button Layout. Essentially, this swaps the A and B function with the Y and X function, just like how the in-game "swap button controls" option does. I went back to change the mapping in the recomp menu itself, and it did the same thing: showed A and B as "Bottom" button and X and Y as "Left" button.
I made sure to run diagnostics in the Steam controller menus, and sure enough all the buttons were correct. I even launched other games just to see if it really was Steam, and the issue only arose with Hookshot.
If the log file doesn't show what you needed, I can try again with different combinations of actions next time. Thank you.
EDIT: A new version dropped, I will test this issue with that instead!