ShareMouse lets you use the mouse and keyboard of one computer to control another computer on the same desk. It is aimed at people who work across two or more machines and want to avoid switching between separate peripherals. The app is listed on Homebrew and runs on macOS.
The source material for this listing is brief, so details such as the connection method, supported operating systems beyond macOS, and pricing are not described here. The product page on the maker's website is the place to check current licensing and cost.
Alternatives to ShareMouse
Products that do a similar job in Utilities.
Barrier
Software KVM that shares one keyboard and mouse across several computers
Pake
Packages websites as small desktop apps from the command line
Etcher
Desktop tool for writing OS images to SD cards and USB drives
PicGo
Uploads images to many hosting services and returns links for notes
Windows App
Remote access client for connecting to Windows PCs and desktops
Caffeine
Menu bar tool that stops a Mac from going to sleep
Easydict
Dictionary and translation app for macOS
Background Music
Small macOS audio utility for managing sound on the Mac