Synergy - stingray.Synergy namespace reference - Stingray Lua API Reference
Used to communicated with the Synergy mouse and keyboard sharing service.
See http://synergy-project.org/.
Available only in development builds.
|
Returns the content of the Synergy clipboard.
|
Parameters | This function does not accept any parameters. |
Returns string |
The content of the Synergy clipboard.
|
|
connect ( ip, client_name, client_width, client_height )
Connects the engine to a Synergy server.
|
Parameters ip : | string | IP of the machine with the Synergy server (e.g., 10.146.149.50). |
client_name : | string | Name to use for the Synergy client. Use this name to configure the client in the Synergy server GUI. |
client_width : | integer | Width of the client's screen. |
client_height : | integer | Height of the client's screen. |
Returns | This function does not return any values. |
When connected the mouse and keyboard of the Synergy
server becomes available in game as SynergyMouse and SynergyKeyboard. You can test SynergyMouse.connected()
to determine if you are connected.