tiny-pilot / tinypilot

Use your Raspberry Pi as a browser-based KVM.
https://tinypilotkvm.com
MIT License
3.02k stars 252 forks source link

I just want to wirelessly send keystrokes to my Windows from terminal/SSH. #1697

Closed Kzitold closed 10 months ago

Kzitold commented 10 months ago

Let's say I'm remote computing. I got a VPN'ed Pi to etherwake my desktop since my desktop's VPN apparently sleeps on sleep. But once my desktop is on the login screen, how would I send keystrokes to desktop@ip.add.res.s from terminal/SSH. Like, I want the full wake-up on 1 SSH-macro.

mtlynch commented 10 months ago

Thanks for reaching out!

This wouldn't fall in the scope of TinyPilot, but you could probably write a simple bash script to do this. I showed something similar in this blog post:

https://mtlynch.io/key-mime-pi/#usb-device-emulation