How to trigger keystroke on remote pc?

Hi,
I have a need to use a zigbee switch to trigger a certain keyboard keystroke on a Windows pc that is in the same wlan with Raspberry running HA.

Any solutions or hints to solve this use case?