Custom Responses: Overview |
The general idea of a Custom response is to create a list of one or more actions that will take place at each stage of a physical button press. A stage number is either “1,” “2,” “3, or “4”. Stage 1 occurs when the physical button is initially pressed down. Stage 2 occurs when the physical button is then released. Stages 3 and 4 are optional. Stage 3 occurs when a button is pressed a second time after the first press has been released, and Stage 4 occurs when that second press is released.
All Custom responses follow a general pattern consisting of one or more stage numbers, each followed by a set of square brackets containing some text. A response may have only one stage, for example:
1[SomeActionHere]
or as many as four:
1[SomeActionHere];2[SomeActionHere];3[SomeActionHere];4[SomeActionHere]
When there are multiple stages, they are separated by a semicolon (;). Multiple actions within a single stage are separated by a comma (,):
1[FirstAction,SecondAction,ThirdAction]
You follow this basic pattern to create a basic custom response.