kernc / logkeys

:memo: :keyboard: A GNU/Linux keylogger that works!
Other
758 stars 253 forks source link

Distinguishing KEYDOWN and KEYUP #211

Open ghost opened 4 years ago

ghost commented 4 years ago

The log file output has no distinction between holding keys and tapping keys. Ex: Holding super and pressing 123: <LMeta>123 Tapping super and pressing 123: <LMeta>123

This results in a lot of ambiguous results where I'm not sure when a key is no longer being held down.

It would be nice if the logger had output like: <LMeta_DOWN>123<LMeta_UP> and <LShift_DOWN>r<LShift_UP>

Most of the loggers I've looked into don't do this. So, I'm not really sure what to do.