Skip to content

StringFormatter: possibility to revert to default value after sending#296

Merged
deinhofer merged 2 commits intomasterfrom
klaus/stringformatter-possibility-to-reset-default
Apr 10, 2019
Merged

StringFormatter: possibility to revert to default value after sending#296
deinhofer merged 2 commits intomasterfrom
klaus/stringformatter-possibility-to-reset-default

Conversation

@klues
Copy link
Contributor

@klues klues commented Mar 8, 2019

I needed to send a formatted string via the serial port which is formatted like this:
<mousePosX> <mousePosY> <mouseFn> <key1> <key2> <key3>;

and used the StringFormatter plugin to achieve this format. However I needed a possiblity to send some properties only once, like e.g. "mouseFn", which should trigger an action exactly once. To achieve this, this PR adds the possibilty to reset the ports to the default value, after another value was sent, triggered by the corresponding input port.

for details see updated documentation, which will be added soon to this PR.

@klues
Copy link
Contributor Author

klues commented Mar 11, 2019

updated documentation with d62c089

@deinhofer
Copy link
Contributor

👍

@deinhofer deinhofer merged commit 222476f into master Apr 10, 2019
@deinhofer deinhofer deleted the klaus/stringformatter-possibility-to-reset-default branch April 10, 2019 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants