Skip to content

Havoc's WinForms-based background app that registers a global hotkey and centers the mouse cursor on the primary monitor when pressed.

License

Notifications You must be signed in to change notification settings

Havoc7891/havCurCtr

Repository files navigation

havCurCtr

A WinForms-based background app that registers a global hotkey and centers the mouse cursor on the primary monitor when pressed.

Table of Contents

Requirements

How to run

  1. Extract the ZIP anywhere (e.g., C:\Apps\havCurCtr).
  2. Run havCurCtr.exe (no admin required).
  3. Look for the tray icon. Use Win + Shift + C to center the cursor.

Screenshot

Start with Windows (Optional)

Option A - Startup folder (Per-user)

  • Press Win + R -> type: shell:startup -> OK
  • Place a shortcut to havCurCtr.exe in that folder

Option B - Registry (Per-user) Create a file named 'havCurCtr-Startup.reg' with the content below, edit the path, then double-click to add:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"havCurCtr"="\"C:\\Apps\\havCurCtr\\havCurCtr.exe\""

Customizing the hotkey

The hotkey is compiled in. To change it:

  • Edit Program.cs -> HOTKEY_MODIFIERS / HOTKEY_VK
  • Rebuild (Release): dotnet publish -c Release -r win-x64 --self-contained false -p:PublishSingleFile=true -p:PublishReadyToRun=true

Contributing

Feel free to suggest features or report issues. However, please note that pull requests will not be accepted.

License

Copyright © 2025 René Nicolaus

Released under the MIT license.

About

Havoc's WinForms-based background app that registers a global hotkey and centers the mouse cursor on the primary monitor when pressed.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published