Pebble.Vibes

Vibration motor controls.

Native Pebble C API

  • Vibes on developer.repebble.com

Commands

cancel

cancel : Cmd msg

Stop any in-progress vibration.

shortPulse

shortPulse : Cmd msg

Trigger a short vibration pulse.

longPulse

longPulse : Cmd msg

Trigger a long vibration pulse.

doublePulse

doublePulse : Cmd msg

Trigger a double vibration pulse.

pattern

pattern : List Int -> Cmd msg

Play a custom vibration pattern.

Each value is a segment duration in milliseconds. Segments alternate ON/OFF starting with ON.