Electron connects to the mobile phone to operate the mouse?

want to achieve a mobile phone to connect to the computer to achieve some functions, such as operating PPT page turning, control of the mouse, left and right button operation and so on.

Operation ppt page turning wants to use electron to actively trigger the up and down keys of the keyboard to realize ppt page turning, but there is no implementation scheme for electron, only api that is passively monitored after registration. Do you know any implementation solutions or other solutions? Thank you.
or give me an idea.


win32 api
SendMessage
PostMessage

< hr >

the requirement of simulating keystrokes is strongly related to the system. On windows, win32 api is used (of course, there are other methods, but more complicated). I looked at npm a little bit, and it seems that there is no encapsulated win32 api library (not so easy to encapsulate). If you want to do this requirement, you have to learn windows development, and win32 api uses Encapsulate api into an appropriate js abstraction for electron to use (to be honest, this requires taking off your pants and farting)

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4935f-44d2c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4935f-44d2c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?