This is a basic keylogger that I made. Please don't do anything illegal with this code. if you do so anyway, I will not be responsible. I have attached two different files: one file (when compiled) prints your keyboard/mouse input to the console and the other file saves your input to a file named "keylogger.txt" on your Desktop.