johnwasser:
Your PC can't tell the difference between a Leonardo keyboard and a regular keyboard so any keylogger will get both.The way to avoid keyloggers is to implement an on-screen virtual keyboard and input text with mouse actions.
@johnwasser How can I tell whether there's keylogger is my system(windows linux)?