input(mouse): map Space to A handbrake, prevent RMB wheel strobe while driving, add F5/F6 hotkeys #246
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp!246
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-246"
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?
@Lynat1k on GitHub · 2026-12-05 22:05 UTC · original
Lynat1k:pr/kbm-driving-hotkeys→main· +111 −28 · 1 files · 1 commits · merged 2026-12-05 22:51 UTCImproves opt-in
keyboard_drivingand live KB+M usability incrates/larp-hle/src/modules/gameinput/mouse.rswithout changing any existing opt-in defaults or motorcycle lean (Shift/Ctrl) behavior:Changes
Spacewhile driving: mapsSpace(0x20) toA(GTA VI's vehicle handbrake) in driver mode and suppresses its on-foot binding so it doesn't also triggerX.RMBweapon-wheel strobe while driving: stopsRMBfrom pressingLEFT_SHOULDER(LB) in driver mode (the boundLBkey still opens the weapon wheel cleanly, andLMBstill firesRBwhen the radial wheel is closed).WM_KEYDOWN, ignored whileF10or key-rebind capture is open):F5— temporarily toggles force on-foot mode (FORCE_ON_FOOT_MODE) for scripted vehicle seats.F6— manually toggles cursor capture.Spacehandbrake suppression,RMB/LMBdriving behavior (including radial-wheel guard), and preservedShift/Ctrlmotorcycle lean.Verification
cargo test --release --locked -p larp-hle— 66 passed, 0 failed (0 new warnings).774df06ca1toeca5641975input(mouse): map Space to RB handbrake, prevent RMB wheel strobe whi…to input(mouse): map Space to A handbrake, prevent RMB wheel strobe while driving, add F5/F6 hotkeys