if (haptic_open(HAPTIC_DEVICE_0, &handle_) != HAPTIC_ERROR_NONE) 
   warning here