TPMouse
ahk
TPMouse | ahk | |
---|---|---|
14 | 10 | |
95 | 789 | |
- | - | |
10.0 | 8.9 | |
7 months ago | 6 days ago | |
AutoIt | Python | |
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.
ahk
-
Using AutoHotkey as a backend engine for PowerShell
Well. I author something similar, it's a bridge to use AHK from Python, but when it comes to this idea of a fully structured means of passing data between the two platforms that's something that this package implements.
-
AutoHotKey V2 (Breaking Upgrade)
There is a nice python wrapper[1], perhaps that could work for your uses?
[1]: https://github.com/spyoungtech/ahk
-
How to automate windows without needing to get away from keyboard?
Check out AutoHotkey (AHK) for simple Windows automation needs. There is a python wrapper: https://github.com/spyoungtech/ahk
-
Alternative to pyautogui for mouse click
There's pynput but that might have the same problem. If you're on Windows AutoHotkey is an awesome way to automate mouse and keyboard actions (but it's a different language than Python, although it seems someone has made a Python wrapper for it).
-
Which python library: ahkpy or ahk?
In this case, both seem reasonably active for a project like this. The latter (https://github.com/spyoungtech/ahk) seems more active and has more comprehensive docs.
-
What are some of the main reasons I should switch to pytest from unittest?
I'm not sure how helpful it will be, but one of my projects does this. Most the tests are unittest.TestCase style, some of them are pytest style. All the tests are run just using pytest.
-
Interacting with Python
So, I author a Python ahk package that does this currently using IPC. The default model starts AHK and stops immediately for each command
-
Can Python do everything AHK can do?
Well, you can leverage AHK with a Python library. So, yes, Python can do everything AHK can do and more.
-
AHK is NOT user friendly
Anyhow. AHK's non-user-friendliness is also what motivated me to make a Python wrapper for AHK. So I TOTALLY get where you're coming from!
-
Tech savvy people of Reddit, what is a computer tip you are sure most haven't heard of?
Maybe you'd like the python wrapper for AutoHotkey better.
What are some alternatives?
scoot - Keyboard-driven MacOS cursor actuator
AHK-GDIp-Library-Compilation - Gdip_All library mega-compilation of user contributions, compatible with AHK v1.1 and AHK v2
AhkCoordGrid - AutoHotkey code for Windows overlay grid allowing you to emulate mouse click at different points on the screen using keyboard shortcuts
lutris - Lutris desktop client
warpd - A modal keyboard-driven virtual pointer
PyInstaller - Freeze (package) Python programs into stand-alone executables
autopilot-rs - A simple, cross-platform GUI automation module for Rust.
Teams-Auto-Joiner - Python script to automatically join Microsoft Teams meetings.
xdo - Small X utility to perform elementary actions on windows
AutoHotPie - Radial menus in Windows, aka PIE MENYOOS!
Fluent-Search - Official repository for Fluent Search, use to report issues or ask for a new feature
AHK_MicMute - Control your microphone using keyboard and mouse hotkeys.