hysuki / go-hook

`go-hook`provides low level keyboard and mouse hook for Windows.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

`go-hook`provides low level keyboard and mouse hook for Windows.

License:MIT License


Languages

Language:Go 100.0%