Skip to content

Configurable hotkeys and a start/stop toggle key #47

Closed

Description

@TMHSDigital

Summary

F6, F7 and ESC are hard-coded as global hotkeys and can't be changed. There's no single start/stop toggle key either.

Why it matters

  • F6 is a common shortcut (browser address bar, many IDEs and games), so pressing it starts clicking unexpectedly.
  • Global ESC fires Emergency Stop whenever Esc is pressed in any app. That's harmless when idle, but users can't move the key if a game binds Esc.
  • Configurable hotkeys and a toggle key are standard in comparable autoclickers, and users expect them.

Evidence

  • autoclicker/app/hotkeys.py:39-41 — handle.add("f6", …), "f7", "esc".
  • gui/sections/control.py hard-codes the labels "Start (F6)", "Stop (F7)", "Emergency Stop (ESC)". app/tray.py does the same.
  • If hotkey registration fails, the user only sees a status-bar message (hotkeys.py:42-44).

Suggested approach

  • Add hotkey_start, hotkey_stop, hotkey_emergency, and an optional hotkey_toggle to settings, with the current keys as defaults.
  • Add a small "Hotkeys…" dialog in Advanced that captures a key combo, rejects duplicates, and re-registers live.
  • Build button and tray labels from settings.
  • Consider moving to Win32 RegisterHotKey (see Replace unmaintained keyboard/mouse hook libraries with RegisterHotKey + Tk picker #57), which doesn't need a global keyboard hook.

Done when

  • Users can rebind every hotkey; changes persist and take effect without a restart.
  • Labels show the current bindings; conflicts and registration failures are reported clearly.

Activity

  1. added
    enhancement
    priority: medium
    ux
    on Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority: mediumux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions