diff options
-rw-r--r-- | TODO | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -153,8 +153,9 @@ Communication | |||
153 | Objects that are interested in things said register listeners with love, and get events.listen()'s sent to them. | 153 | Objects that are interested in things said register listeners with love, and get events.listen()'s sent to them. |
154 | Some sort of filter is needed for this as well. | 154 | Some sort of filter is needed for this as well. |
155 | listen(string filter, string text, integer flags) | 155 | listen(string filter, string text, integer flags) |
156 | filter - <Xm>,<key>,<channel> | 156 | filter - <Xm>,<key>,<channel>,<self> |
157 | In this case, <Xm> isn't actually needed by any LSL function, but I include it for completeness sake. | 157 | In this case, <Xm> isn't actually needed by any LSL function, but I include it for completeness sake. |
158 | <self> means don't listen to yourself, which is usually what you get in LSL, but I'm leaving that option open. | ||
158 | text - a string to match, might be a regex | 159 | text - a string to match, might be a regex |
159 | flags - include the regex flags from the OS version | 160 | flags - include the regex flags from the OS version |
160 | The last two arguments are optional. Flags is itself optional if text is there, defaulting to "not a regex". | 161 | The last two arguments are optional. Flags is itself optional if text is there, defaulting to "not a regex". |