Answer the question
In order to leave comments, you need to log in
How to remotely simulate a button press on a computer?
I want to make it so that through the Yandex smart home system you can pause the video playing on your computer and play it again. The easiest way, it seemed to me, to do this is to somehow simulate pressing the "space" button.
Ideally, I want to find a program that can simulate a button press using a request on the local network. So far, nothing of the sort has been found. If there are options, how else can I implement this - I will be glad to get acquainted.
Answer the question
In order to leave comments, you need to log in
If the video is played in a browser, then stop-play is simply configured using JavaSctipt. You will need to raise a small web server and through it you can issue commands to the browser remotely.
If the video is from a file - vlc player. There is a web interface,
but I'm more worried about the smart home, which works through Yandex)))
I don't think the question in the title is correct.
But, if you answer it, then I see a hardware solution based on Arduino Leonardo, which perfectly emulates a HID keyboard.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question