From 018c9d90b3072cc67459810a4cfc017f773c571b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludwig=20Fr=C3=BChsch=C3=BCtz?= Date: Sat, 6 Nov 2021 19:00:27 +0000 Subject: [PATCH] Readme update --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b998ec0..081051a 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,6 @@ This is a DLL extension for [AutoHotkey](https://www.autohotkey.com/) that enables support for OSC (Open Sound Control). -## Work in progress -While most functions should already work as intended, there may still be some bugs. If you encounter some possibly wrong behaviour, please let us know! -* OSC address wildcards are supported now but probably need some testing - ## Table of contents - [OSC2AHK](#osc2ahk) @@ -167,11 +163,12 @@ msghandlerString(oscType, data, msgID, hwnd) ``` ### Send functions -The DLL also can be used to transmit OSC messages from AutoHotkey by using the following functions: +The DLL also can be used to transmit OSC messages from AutoHotkey by using the following functions. Usually there is only one argument (payload) per message, but the functions ending in "...2" allow the sending of two arguments in one message. Only two arguments of the same type are supported at the moment. #### Send integer message ```cpp void sendOscMessageInt(char* ip, unsigned int port, char* address, int payload); +void sendOscMessageInt2(char* ip, unsigned int port, char* address, int payload1, int payload2); ``` Example call from AHK: ``` @@ -185,6 +182,7 @@ DllCall("OSC2AHK.dll\sendOscMessageInt", AStr, ip, UInt, port, AStr, addr, Int, #### Send float message ```cpp void sendOscMessageFloat(char* ip, unsigned int port, char* address, float payload); +void sendOscMessageFloat2(char* ip, unsigned int port, char* address, float payload1, float payload2); ``` Example call from AHK: ``` @@ -198,6 +196,7 @@ DllCall("OSC2AHK.dll\sendOscMessageFloat", AStr, ip, UInt, port, AStr, addr, Flo #### Send string message ```cpp void sendOscMessageString(char* ip, unsigned int port, char* address, char* payload); +void sendOscMessageString2(char* ip, unsigned int port, char* address, char* payload1, char* payload2); ``` Example call from AHK: ```