There are normally two types of keyloggers to spy on. Spy will be based on the method used to spy keystrokes. One is software keyloggers and the other is hardware keyloggers.