Whether software or a hardware device placed between the keyboard and the computer, a ___ records every key a user type…