Motion (gfx_motion) =================== Types ----- gfx_motion_tick_cb_t ~~~~~~~~~~~~~~~~~~~~ .. code-block:: c typedef bool (*gfx_motion_tick_cb_t)(gfx_motion_t *motion, void *user_data); gfx_motion_apply_cb_t ~~~~~~~~~~~~~~~~~~~~~ .. code-block:: c typedef esp_err_t (*gfx_motion_apply_cb_t)(gfx_motion_t *motion, void *user_data, bool force_apply); Functions --------- gfx_motion_step() ~~~~~~~~~~~~~~~~~ .. code-block:: c esp_err_t gfx_motion_step(gfx_motion_t *motion, bool force_apply); gfx_motion_ease_i16() ~~~~~~~~~~~~~~~~~~~~~ .. code-block:: c int16_t gfx_motion_ease_i16(int16_t cur, int16_t tgt, int16_t div);