Anyone who thinks this is reasonable can only be stuck in an SV bubble like people who push the gig economy knowing they’ll only ever benefit from it, not be subject to it.
No logging necessary, just some face to face time (which you could also do over zoom, btw).
If the employees performance stays bad despite roadblocks being handled, then it isn't really important whether or not it's bad because they aren't typing enough.
Of course this requires management to actually do their job, and unlike the other employees their metrics don't seem to include them actually doing any work.
Regardless, measuring keystrokes sounds as dumb as lines of code.
[1] https://www.fwc.gov.au/job-loss-or-dismissal/unfair-dismissa...
This comment alone would take you the entire morning.