wri_keylogger Raw Input keyloger for windows Build and run: $ mingw32-gcc.exe main.c && ./a.exe Type some text and see log.txt $ cat log.txt some test[BP][BP][BP][BP]text more text[Ctrl]