aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-06-16 20:32:44 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-06-16 20:32:44 +0300
commitef4bf8202544a3be15516ec1d14757b61501377c (patch)
tree203fc3fda08b569f6632e28743fd0645f1919e8e /docs
parentbdb55ecbe02e608607950b55c74f71bbda102ecd (diff)
downloadhid-tmff2-ef4bf8202544a3be15516ec1d14757b61501377c.tar.gz
hid-tmff2-ef4bf8202544a3be15516ec1d14757b61501377c.zip
document new play count
Diffstat (limited to 'docs')
-rw-r--r--docs/FFBEFFECTS.md15
1 files changed, 14 insertions, 1 deletions
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