Keylogger
Hardware or software that records keystroke information from keyboard or equivalent text input.
Unauthorized use may expose credentials and private communications. Keystroke logging differs from screen capture and clipboard monitoring. The capability to collect input does not prove that a particular password was recorded.