go-hook
go-hook copied to clipboard
`go-hook`provides low level keyboard and mouse hook for Windows.
go-hook
go-hook
provides low level keyboard and mouse hook for Windows. This package is written in pure Go, cgo
is not required.
Note: The package is currently tested on Windows 10 64bit edition. Other versions of Windows are not guaranteed to work.
Prerequisites
Go 1.13 or later
Usage
Examples are stored in examples
directory.
-
mouse
: Capturing mouse events. -
keyboard
: Capturing keyboard events. -
swapkeys
: Swapping the keyboard input 'A' and 'B".
Contributing
- Fork (https://github.com/moutend/go-hook/fork)
- Create a feature branch
- Add changes
- Run
go fmt
- Commit your changes
- Open a new Pull Request
Author
LICENSE
MIT