From ef4bf8202544a3be15516ec1d14757b61501377c Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 16 Jun 2024 20:32:44 +0300 Subject: document new play count --- docs/FFBEFFECTS.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'docs/FFBEFFECTS.md') diff --git a/docs/FFBEFFECTS.md b/docs/FFBEFFECTS.md index e2b3edc..558e720 100644 --- a/docs/FFBEFFECTS.md +++ b/docs/FFBEFFECTS.md @@ -16,7 +16,7 @@ have model specific peculiarities, though. > USB interface, not the only available ones. ## GENERAL -### Playing +### Playing a single effect once ``` 60 00 - standard header 01 - ID @@ -28,6 +28,19 @@ have model specific peculiarities, though. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ``` +### Playing a single effect multiple or infinite times +``` + 60 00 - standard header + 01 - ID + 89 - playing options + 41 - play with count + 00 00 00 00 - play count, 0 for infinite, seems to be u16 + 00 00 00 00 00 00 00 + 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +``` + ### Stopping/removing (why are they rolled into one?) ``` 60 00 - standard header -- cgit v1.3