Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Latest commit

 

History

History
10 lines (5 loc) · 684 Bytes

README.md

File metadata and controls

10 lines (5 loc) · 684 Bytes

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.