Skip to main content

keep_forward

Toggle auto-hold W in games with a hotkey

Auto-walk forward in games without holding W. Bind your own hotkey, press it to toggle W held down, press W to stop.

Your own hotkey

Hold up to three keys together, release, and that combo is your toggle. Matched in any order — no config files, set it live on first run.

Works in real games

On Windows it injects the W hardware scancode via SendInput, so DirectInput / Raw Input games actually register the key — not just virtual-key events they ignore.

Cross-platform & tiny

One small native Rust binary, no runtime. Runs on Windows, macOS and Linux (X11). Press W yourself any time to stop holding.

See it run

$ keep_forward
keep_forward: hold up to 3 keys together then release to set your hotkey.
  press it to toggle holding W, Ctrl+C to quit.
  macOS: grant Accessibility permission. Linux: X11 only (not Wayland).

hotkey set to {ControlLeft, F8} pressed in any order. Press it to toggle holding W.
holding W: true
holding W: false (W pressed)

How it works

1

Run it

Launch the binary from anywhere. No install, no config.

2

Set your hotkey

Hold up to three (or less) keys together and release — that combo is bound.

3

Press to toggle

Tap your hotkey and W stays held down. Tap it again to release.

4

Tap W to stop

Pressing W yourself instantly turns holding off.

Download

Prebuilt binaries for every supported platform:

macOS needs Accessibility permission (System Settings → Privacy & Security → Accessibility). Linux is X11 only, not Wayland.