Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 945 Bytes

README.md

File metadata and controls

39 lines (24 loc) · 945 Bytes

go-hook

MIT License

go-hookprovides 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

  1. Fork (https://github.com/moutend/go-hook/fork)
  2. Create a feature branch
  3. Add changes
  4. Run go fmt
  5. Commit your changes
  6. Open a new Pull Request

Author

Yoshiyuki Koyanagi

LICENSE

MIT