A Walk key for keyboard players (the movement keys can only run) #2344
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#2344
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?
The idea
On the keyboard Link can only run. The movement keys push the left stick all the way (
host/nn_hid.c,* 32767), soa player without a controller cannot walk: on narrow ledges, when sneaking past guards, or just for a slower pace on a
path. A controller player tilts the stick a little; a key has no "a little".
What I would like: a Walk control on the Controls page (keys only, Caps Lock by default, rebindable like Move
forward) that makes the movement keys tilt the stick only part of the way while Link walks, with two rows on the
Controls tab:
Controllers, the mouse and the camera keys would stay as they are.
Anything else
Measured in the game (Kokiri Forest, headless runs with the stick scripted at each share): Link's slowest walk is
1.03 m/s at 15% of the stick and below, his walk tops out at 1.47 m/s at 45% to 50%, from 55% he speeds up into a jog,
and at 100% he runs at 4.50 m/s. That is where the default (45%) and the lower end (15%) come from.
Caps Lock because no other default control uses it and it sits beside A and Shift, so it can be held with WASD; its
cost is that it still switches capitals in other programs at each press, so the key can be rebound.
I searched the issues for "walk", "walk key", "walk keyboard", "slow walk", "walk toggle", "caps lock" and the
collected requests in #1007 and found no request for this. The nearest are #1782 (separate buttons for roll and
sprint, closed into #1007) and #2020 (a Movement speed choice on the Debug tab, which makes Link faster, not slower).
Claim: I am working on this (#2345 is open with it, its test, the measurements and pictures). Score by
docs/workflow.md: S3 (afeature, weight 1) x reach (keyboard players) x confidence 1.0 (built and tested here). Hardware I can test on: Linux
(Arch), RTX 4090 with NVIDIA 615.78.08, and an Intel UHD 770 with Mesa 26.2.5. Not Windows, and not a real keyboard in
the game so far (my runs are headless, with the keys held by a test probe).
This is being done in your pull request #2345; closing the issue so the work is tracked in one place there.