Lines Matching refs:indev

219 static void x11_keyboard_read_cb(lv_indev_t * indev, lv_indev_data_t * data)  in x11_keyboard_read_cb()  argument
221 lv_display_t * disp = lv_indev_get_driver_data(indev); in x11_keyboard_read_cb()
236 static void x11_mouse_read_cb(lv_indev_t * indev, lv_indev_data_t * data) in x11_mouse_read_cb() argument
238 lv_display_t * disp = lv_indev_get_driver_data(indev); in x11_mouse_read_cb()
251 static void x11_mousewheel_read_cb(lv_indev_t * indev, lv_indev_data_t * data) in x11_mousewheel_read_cb() argument
253 lv_display_t * disp = lv_indev_get_driver_data(indev); in x11_mousewheel_read_cb()
263 lv_indev_t * indev = lv_indev_create(); in lv_x11_keyboard_create() local
264 LV_ASSERT_NULL(indev); in lv_x11_keyboard_create()
265 if(NULL != indev) { in lv_x11_keyboard_create()
266 lv_indev_set_type(indev, LV_INDEV_TYPE_KEYPAD); in lv_x11_keyboard_create()
267 lv_indev_set_read_cb(indev, x11_keyboard_read_cb); in lv_x11_keyboard_create()
268 lv_indev_set_driver_data(indev, disp); in lv_x11_keyboard_create()
270 return indev; in lv_x11_keyboard_create()
275 lv_indev_t * indev = lv_indev_create(); in lv_x11_mouse_create() local
276 if(NULL != indev) { in lv_x11_mouse_create()
277 lv_indev_set_type(indev, LV_INDEV_TYPE_POINTER); in lv_x11_mouse_create()
278 lv_indev_set_read_cb(indev, x11_mouse_read_cb); in lv_x11_mouse_create()
279 lv_indev_set_driver_data(indev, disp); in lv_x11_mouse_create()
285 lv_indev_set_cursor(indev, mouse_cursor); in lv_x11_mouse_create()
288 return indev; in lv_x11_mouse_create()
293 lv_indev_t * indev = lv_indev_create(); in lv_x11_mousewheel_create() local
294 if(NULL != indev) { in lv_x11_mousewheel_create()
295 lv_indev_set_type(indev, LV_INDEV_TYPE_ENCODER); in lv_x11_mousewheel_create()
296 lv_indev_set_read_cb(indev, x11_mousewheel_read_cb); in lv_x11_mousewheel_create()
297 lv_indev_set_driver_data(indev, disp); in lv_x11_mousewheel_create()
299 return indev; in lv_x11_mousewheel_create()