Not possible. The USB ports on a RPi are all host ports. To be a HID device you need a USB slave.
Use ssh with port forwarding.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+
Any DMs sent on Twitter will be answered next month.