Quote:
Originally Posted by Geoff Waddington
0 seconds means continuous update.
Any of the "R" family (e.g. PressFBR) will require this.
|
Geoff, what exactly do you mean by "continuous update"? Do you mean: instantaneous update upon button press/release? Or a constant flow of updates at max rate?
And I was thinking, if you change the order of the parameters so that the refresh time is at the last position, and if you allow it to be omitted (meaning: no periodic refresh required), the PressFB syntax could handle all cases with a single keyword. No need for the "R" family, but it may complicate your parser.
"Normal" button with feedback, no periodic refresh:
Code:
SomeButton PressFB 90 4a 7f 90 4a 00
Button with feedback and refresh @ 100ms:
Code:
SomeButton PressFB 90 4a 7f 90 4a 00 0.1