Follow-up: I have now tried connecting to the client using RD instead of NoMachine. When I do so, Pulover’s Macro Creator does record keystrokes as well as mouse clicks.
Therefore, either there is a relevant setting in NoMachine that I’m not aware of, or this is a bug in NoMachine.