Hello Ghosts,
I am completely new in this application and have some basic questions - hopefully someone will help me.
First, let me explain my situation:
I've just created AI (Artificial Intelligence) on JS for controlling the mouse on Windows.
Now I want to send these commands to another computer through its bluetooth usb- i.e. I want to emulate the other computer's mouse.
Can you tell me which feature of EventGhost could help me for this?
I will be really thankful for every little guidance!
Regards!
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
General question regarding EventGhost
-
m19brandon
- Experienced User
- Posts: 177
- Joined: Mon Feb 03, 2014 10:36 pm
Re: General question regarding EventGhost
Why not use the network. If the other computer has EG on it to the WebSever plugin has an action to Send Event to another webserver.
Why a mouse versus keyboard commands? What are your using for your AI, a distance model or something like Wit.AI?
Why a mouse versus keyboard commands? What are your using for your AI, a distance model or something like Wit.AI?
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: General question regarding EventGhost
I would for sure use MQTT (with a message broker) all day long. I assume, since you work with javascript, you could add code to publish events to the broker? In EG, you can then use the MQTT Client plugin to capture the events and use them to control the mouse (and others) via macros. MQTT is a light weight protocol used in IoT (Internet of Things). The HTTP will also work but is maybe not the best choice for this, it has unnecessary overhead. When you control the mouse I guess you are looking for the fastest possible response.
There are also support in EG for some Bluetooth dongles (plugins can be found on the forum) but I have no experience in using such. The only recent experiments I have done is with BLE (Bluetooth Low Energy) using a Raspberry Pi running Jessie and Node-RED. Bluetooth events could easily be published to a MQTT broker. The MQTT Client in EG could subscribe to those and drive the mouse via macros.
There are also support in EG for some Bluetooth dongles (plugins can be found on the forum) but I have no experience in using such. The only recent experiments I have done is with BLE (Bluetooth Low Energy) using a Raspberry Pi running Jessie and Node-RED. Bluetooth events could easily be published to a MQTT broker. The MQTT Client in EG could subscribe to those and drive the mouse via macros.
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM