[][src]Function lvgl::hal::indev::drv_init

pub fn drv_init(driver: *mut lv_indev_drv_t) -> MynewtResult<()>

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.

  • driver: pointer to driver variable to initialize