Skip to content

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

License

Notifications You must be signed in to change notification settings

moutend/go-hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages