Categorygithub.com/watsittoye/go-keylogger
repositorypackage
0.0.0-20240621080149-c31188534a38
Repository: https://github.com/watsittoye/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.