If it's a hardware keylogger, you can check to see if your keyboard is plugged into something other than your computer's case...