Searched refs:touch_x (Results 1 – 3 of 3) sorted by relevance
| /bsp/nxp/imx/imxrt/imxrt1060-nxp-evk/applications/lvgl/ |
| A D | lv_port_indev.c | 171 static int touch_x = 0; in DEMO_ReadTouch() local 174 if (kStatus_Success == GT911_GetSingleTouch(&s_touchHandle, &touch_x, &touch_y)) in DEMO_ReadTouch() 184 data->point.x = touch_x * LCD_WIDTH / s_touchResolutionX; in DEMO_ReadTouch() 230 static int touch_x = 0; in DEMO_ReadTouch() local 235 if (kStatus_Success == FT5406_RT_GetSingleTouch(&touchHandle, &touch_event, &touch_x, &touch_y)) in DEMO_ReadTouch() 245 data->point.y = touch_x; in DEMO_ReadTouch()
|
| /bsp/raspberry-pi/raspi4-64/drivers/ |
| A D | drv_dsi_touch.c | 35 static rt_uint32_t touch_x; variable 113 touch_x = (((int)regs->point[0].xh & 0xf) << 8) + regs->point[0].xl; in dsi_touch_thread_entry() 117 post_event(touch_x, touch_y, RT_TOUCH_EVENT_DOWN); in dsi_touch_thread_entry() 121 post_event(touch_x, touch_y, RT_TOUCH_EVENT_MOVE); in dsi_touch_thread_entry() 129 post_event(touch_x, touch_y, RT_TOUCH_EVENT_UP); in dsi_touch_thread_entry() 143 touchxy[0] = touch_x; in dsi_read_point()
|
| /bsp/raspberry-pi/raspi4-32/driver/touch/ |
| A D | drv_dsi_touch.c | 23 static rt_uint32_t touch_x; variable 67 touch_x = (((int)regs->point[0].xh & 0xf) << 8) + regs->point[0].xl; in dsi_touch_thread_entry() 84 touchxy[0] = touch_x; in dsi_read_point()
|
Completed in 15 milliseconds