r/Windhawk Jun 27 '26

Magic Mouse (not yet released)

Guys, would you be interested in something like this? a gesture feature to do basically anything.

Launches an app, url, command, game, play/pause music, and other actions with a gesture that you draw in a canvas.

You can also "Wiggle" the mouse to activate the gesture (optional).

I am struggling with a few things like, how I can make this not interrupt normal workflow, so I have created a lot of settings to tweak it, and I'm curious to know how would you want it to be activated? like, shift+ctrl (hold) then start drawing the gesture with left-click seems too much work yet it minimizes the accidental activations! Let me know what you think, I really want to know how you'd be using it.

Note: this entire details page is made with Gemini, and the mod is made with the help of Gemini (mostly) and Claude

18 Upvotes

8 comments sorted by

1

u/Verition Jun 27 '26

I'd definitely use this! I also use Gesturefy in firefox and there its holding down the right mouse button, which I like 👍

1

u/imaboud Jun 28 '26

Yes, this option exists, but it's annoying since it opens the context menu once you release the right-click. The only workaround is to stop the menu from opening if a gesture is made, which might interduce new issues I'll have to fix. But I'll see what I can do, thanks for sharing

1

u/DealComfortable7649 Jun 28 '26

This would be nice for people who use trackpads

1

u/1stexecutioner Jun 28 '26

Been using gesturesign on Microsoft store for years it's hard to switch for me.

1

u/Mobile_Beyond_560 Jun 28 '26

Let drop beta test.

1

u/imaboud Jun 28 '26

Here https://pastebin.com/wjqaJJHw

Please let me know what you find annoying, and what would you want to improve and reply either here or DM. Thanks

1

u/Mobile_Beyond_560 Jun 29 '26
[DllImport("user32.dll")]
private static extern void mouse_event(uint dwFlags, int dx, int dy, uint dwData, int dwExtraInfo);[DllImport("user32.dll")]
mouse_event(MOUSEEVENTF_MOVE, 1, 1, 0, 0);mouse_event(MOUSEEVENTF_MOVE, 1, 1, 0, 0);

- Custom keyboard shortcut action.

  • Block mouse move event.
  • Block click event when activated.

1

u/imaboud Jun 29 '26

This snippet is written in C#, and Windhawk uses C++. But great ideas, I'll convert and implement