/** * @file shy_emotion.h * @brief Shy emotion animation controller * * Manages the shy Lottie animation that plays when the device * responds to touch with a shy expression. */ #ifndef SHY_EMOTION_H #define SHY_EMOTION_H #include #include #ifdef __cplusplus extern "C" { #endif /** * @brief Initialize the shy emotion module * * @return true on success, false on failure */ bool shyEmotionInit(void); /** * @brief Start playing the shy animation * * Animation will play once (not looping) and transition back to idle * when complete. */ void shyEmotionPlay(void); /** * @brief Update the shy emotion state * * Must be called periodically to check if the shy animation has completed. * * @return true if animation is complete and ready for idle, false if still * playing */ bool shyEmotionUpdate(void); /** * @brief Stop the shy animation immediately (for cleanup) */ void shyEmotionStop(void); /** * @brief Check if shy animation is currently playing * * @return true if playing, false otherwise */ bool shyEmotionIsPlaying(void); #ifdef __cplusplus } #endif #endif // SHY_EMOTION_H