Add C declarations for haptic subsystem