logkeys icon indicating copy to clipboard operation
logkeys copied to clipboard

Feature Request - Remember Modifier state

Open mat-m opened this issue 4 years ago • 1 comments

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.

mat-m avatar Aug 31 '21 23:08 mat-m

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?

crides avatar Feb 28 '23 05:02 crides