MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / vibrate

Method vibrate

tests/test_pager_code.py:303–306  ·  view source on GitHub ↗

Vibrate for duration in milliseconds.

(self, duration_ms=200)

Source from the content-addressed store, hash-verified

301
302 # ========== VIBRATION ==========
303 def vibrate(self, duration_ms=200):
304 """Vibrate for duration in milliseconds."""
305 if VERBOSE:
306 print(f"[MockPager] vibrate({duration_ms}ms)")
307
308 def vibrate_pattern(self, pattern):
309 """Play vibration pattern."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected