The AI helped him build a tool that swaps his keyboard between two computers on its own
A man's Bluetooth keyboard and trackpad can only pair with one computer, and the switching tools he found needed both machines awake to work. He used AI to help build his own tool, which moves the pairings to whichever computer is active based on sleep, wake and display events, and he put it on GitHub for anyone to use.
How it works
- He tries the existing switching tools and finds they need both computers awake
- He builds his own tool with AI's help
- The tool watches sleep, wake and screen connection events
- It moves the keyboard and trackpad pairings to the active computer on its own
Why it’s worth knowing
The switching happens by itself when a computer sleeps or wakes. The tools he found first could not do that.
Where it’s from
Summarized from a public post on superuser.com. See the original ↗