Categorygithub.com/kindlyfire/go-keylogger
repositorypackage
0.0.0-20180814110756-f2fda1034e3a
Repository: https://github.com/kindlyfire/go-keylogger.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

go-keylogger

GoDoc

This is a small go keylogger library for Windows. It has the advantage over all the other keyloggers I found that it correctly parses each keypress, no matter the keyboard layout. No keymaps are hard-coded.

See the examples/ directory for examples.

Currently, the lib polls for keypresses every X milliseconds and checks the entire keyboard using GetAsyncKeyState(), which is not the optimal solution but it works well. Work is going on in the win-events branch to convert the lib to use the Windows events instead of polling.