TPMouse
hammerspoon
TPMouse | hammerspoon | |
---|---|---|
14 | 114 | |
95 | 11,498 | |
- | 0.8% | |
10.0 | 7.3 | |
7 months ago | 24 days ago | |
AutoIt | Objective-C | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
TPMouse
-
Turning a Keyboard into a Mouse with Libevdev
And for Windows, my https://github.com/esporttoys/TPMouse was inspired by warpd itself but focuses more on the intuitive usability of direct cursor control via inertia/momentum.
-
Cosmic Skies of a Colorado July
You may be interested in how I did my Windows script for adding three-finger drag[0].
Basically, it is an independent subscriber to RawInput messages that only keeps track of whether or not to send three-finger drag, and posts emulated mouse messages using SendInput. I have a few other scripts that each run as independent userland processes that only monitors their own trigger and nothing else.
Tangentially, not sure if this might serve for some inspiration, but my TPMouse[1] script implemented inertia in a framerate-independent way so that it uses very little resource while having perfect simulation stability.
A previous discussion where I explained the analytic derivation for this low-resource exact-solution damped inertia can be seen in [10]
[0] https://github.com/EsportToys/PrecisionThreeFingerDrag/blob/...
[1] https://github.com/EsportToys/TPMouse
[10] https://old.reddit.com/r/Trackballs/comments/ym9q2t/tpmouse_...
-
Toward a More Useful Keyboard
With the TPMouse script I implemented the activation shortcut as LShift+RShift+ which I felt had a nice balance between deliberateness and easy-to-reach (since you are using it with your hands on homerow).
Though because some keyboards have key rollover issues with using both Shifts, Capslock+ is also allowed as an alternative activation shortcut.
[0] https://github.com/EsportToys/TPMouse
- Somehow AutoHotKey is kinda good now
- The ThinkPad TrackPoint tried to build a better mouse (2020)
-
AutoHotKey V2 (Breaking Upgrade)
I personally use AutoIt a ton as a super fast way to quickly prototype GUIs. It's basically a really simple entrypoint for WinAPI.
Shameless plug: my script for emulating a trackball with your keyboard [0], and my tray app for quickly tweaking your cursor speed (usually for when I'm drawing something)[1]
[0] https://github.com/EsportToys/TPMouse
- TPMouse - A virtual trackball for Windows
- Show HN: A Virtual Trackball for Windows, controlled from the homerow
- TPMouse - a virtual trackball for windows, controlled from your keyboard homerow.
hammerspoon
-
Show HN: NotesOllama – I added local LLM support to Apple Notes (through Ollama)
Another option for hacking something like this together could be HammerSpoon. I’ve spent some time with it, but haven’t tried integrating with Apple Notes, I mostly did stuff at the file system level to keep it easy.
https://www.hammerspoon.org/
-
Little macOS Apps That Make a Big Difference in 2024
For basic window tiling, I stumbled across Hammerspoon and the MiroWindowsManager spoon.
https://github.com/miromannino/miro-windows-manager
https://www.hammerspoon.org/
- Yabai – A tiling window manager for macOS
-
[Hammer Control] Hammerspoon + SelfControl = Scheduling SelfControl
I use hammerspoon a lot and it seemed like scheduling SelfControl could be done using it so I created Hammer Control. Check it out!
-
A collection of useful Mac Apps
Hammerspoon - Price: Free Desktop automation tool for macOS that allows you to write Lua scripts to control your Mac.
- Needed: Automation extension that can repeat movements/clicks in a browser
-
getting current desktop to show on lockscreen? (MacOS Ventura)
Assuming no one has a cut-and-dried solution that just works, would something like this be possible with say, AppleScript or another scripting tool like Hammerspoon? I've not used either of these tools before, but would be open to seeking out a scripting solution on my own if it's viable. Or am I going to run into insurmountable security restrictions?
- Ask HN: Scrolling Window Manager for macOS?
-
Fastest way to open Messages?
Spark (not the email app). There are others like Hotkey and Hammerspoon.
-
Window Management & Snapping
I have tried different tools for this including Rectangle, but I've finally settled with hammerspoon. It solves the problem of window-management but you can also use it to create custom keyboard shortcuts and much more.
What are some alternatives?
scoot - Keyboard-driven MacOS cursor actuator
AutoHotkey - AutoHotkey - macro-creation and automation-oriented scripting utility for Windows.
AhkCoordGrid - AutoHotkey code for Windows overlay grid allowing you to emulate mouse click at different points on the screen using keyboard shortcuts
yabai - A tiling window manager for macOS based on binary space partitioning
warpd - A modal keyboard-driven virtual pointer
skhd - Simple hotkey daemon for macOS
autopilot-rs - A simple, cross-platform GUI automation module for Rust.
Rectangle - Move and resize windows on macOS with keyboard shortcuts and snap areas
xdo - Small X utility to perform elementary actions on windows
alt-tab-macos - Windows alt-tab on macOS
Fluent-Search - Official repository for Fluent Search, use to report issues or ask for a new feature
ShockEmu - Keyboard support for Dualshock emulation for PS Remote Play (macOS)