Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
gvalkov committed May 8, 2024
1 parent 396bf0c commit 596dc52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -451,9 +451,10 @@ Injecting an FF-event into first FF-capable device found
repeat_count = 1
effect_id = dev.upload_effect(effect)
dev.write(ecodes.EV_FF, effect_id, repeat_count)
time.sleep(duration_ms)
time.sleep(duration_ms / 1000)
dev.erase_effect(effect_id)


Forwarding force-feedback from uinput to a real device
======================================================

Expand Down

0 comments on commit 596dc52

Please sign in to comment.