My intuition tells me that nowadays, if you can embed an arbitrary program "keylogger" onto a computer, it should also log most user events, not just "keyboard events", including screenshots of areas around mouse clicks, maybe a small OCR module etc.
Of course, a physical keylogger is a different beast, but really, if you got physical access enough to install an actual piece of hardware...