/* Initialize an input device driver with default values. It is used to surly have known values in the fields ant not memory junk. After it you can set the fields.  */
void lv_indev_drv_init(lv_indev_drv_t *driver)
/* Initialize an input device driver with default values. It is used to surly have known values in the fields ant not memory junk. After it you can set the fields.  */
void lv_indev_drv_init(lv_indev_drv_t *driver)
{
    lv_memset_00(driver, sizeof(lv_indev_drv_t));
    driver->type                 = LV_INDEV_TYPE_NONE;
    driver->scroll_limit         = LV_INDEV_DEF_SCROLL_LIMIT;
    driver->scroll_throw         = LV_INDEV_DEF_SCROLL_THROW;
    driver->long_press_time      = LV_INDEV_DEF_LONG_PRESS_TIME;
    driver->long_press_repeat_time  = LV_INDEV_DEF_LONG_PRESS_REP_TIME;
    driver->gesture_limit        = LV_INDEV_DEF_GESTURE_LIMIT;
    driver->gesture_min_velocity = LV_INDEV_DEF_GESTURE_MIN_VELOCITY;
}