Code for Haptic Signals