go-hook

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2020 License: MIT

README

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

Directories

Path Synopsis
examples
pkg
keyboard
Package keyboard provides low level hook for keyboard input.
Package keyboard provides low level hook for keyboard input.
mouse
Package mouse provides low level hook for mouse input.
Package mouse provides low level hook for mouse input.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL