Skip to content

Hotkeys

Yasunobu edited this page Jun 26, 2026 · 1 revision

Hotkeys

KeepPressing uses global hotkeys: they fire even when another application has keyboard focus, so you can drive a game or another window and toggle pressing without alt-tabbing back. Hotkeys are registered with MOD_NOREPEAT, so holding the key down does not retrigger them.

Hotkey reference

Key When it's active What it does
F6 (default; selectable F5 / F6 / F7 / F9 / F10) Always Start / stop pressing
F8 Only while picking a fixed coordinate Confirm the captured position
Esc Only while picking a fixed coordinate Cancel the capture
Esc (mash) Only while running Emergency stop

The start/stop toggle

  • Default is F6. You can change it to F5, F6, F7, F9, or F10.
  • F8 is deliberately not selectable — it's reserved for coordinate capture, so allowing it as the toggle would create a conflict.
  • If the key you pick is already claimed by another app, KeepPressing shows a message and reverts to your previous choice (the registration is atomic — you never end up with no hotkey).

Emergency stop (Esc)

While pressing is running, Esc is registered globally as a dedicated stop key. This exists because during a rapid click/keypress burst the target window often holds focus and it's easy to forget which toggle key you chose — Esc is the universally-known "make it stop" key. It only ever stops; it never starts, and it's unregistered as soon as you stop. Because capture can't happen while running, Esc-as-stop and Esc-as-cancel never collide.

Coordinate capture keys (F8 / Esc)

These two are registered only for the brief window while you're picking a fixed coordinate with Pick on screen, and unregistered the moment you confirm or cancel. See Usage.


Related: Usage · Troubleshooting · for the implementation see Win32 Interop

Clone this wiki locally