/** * @file blink_emotion.h * @brief Blink emotion animation interface * * This module handles the idle blink animation using Lottie. * It plays the eyes open/close animation with natural random intervals. */ #ifndef BLINK_EMOTION_H #define BLINK_EMOTION_H #include #ifdef __cplusplus extern "C" { #endif /** * @brief Initialize the blink emotion * * Loads the blink animation data and prepares the Lottie player. * Must be called after display driver initialization. * * @return true on success, false on failure */ bool blinkEmotionInit(void); /** * @brief Start or trigger the blink animation * * Starts the natural blink loop with random intervals. */ void blinkEmotionPlay(void); /** * @brief Pause the blink animation */ void blinkEmotionPause(void); /** * @brief Stop and cleanup the blink animation */ void blinkEmotionStop(void); /** * @brief Trigger a single blink immediately */ void blinkEmotionTrigger(void); #ifdef __cplusplus } #endif #endif // BLINK_EMOTION_H