logkeys
logkeys copied to clipboard
Feature Request - Remember Modifier state
Hello
If I type CHarge, I got in the log:
<Enter><LShft>CHarge
I would like it to detect when Mod are pressed, e.g.:
<Enter><LShft>C<LShft>Harge
<Enter><LShft>CH</LShft>arge
Those will allow me to count the Mod usage also. It is easy on Shift, but less on Ctrl or Alt.
So I did a very crude attempt at this, which from my current testing seems to work. It uses your idea of doing </mod> for the released modifier. The added code is pretty wet (you know, as opposed to DRY), but shouldn't incur much runtime cost?