Home
last modified time | relevance | path

Searched refs:touch_point (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/samples/subsys/input/draw_touch_events/src/
Dmain.c47 } touch_point, touch_point_drawn; variable
52 touch_point.x = evt->value; in touch_event_callback()
55 touch_point.y = evt->value; in touch_event_callback()
58 touch_point.pressed = evt->value; in touch_event_callback()
135 touch_point.x = -1; in main()
136 touch_point.y = -1; in main()
143 LOG_INF("TOUCH %s X, Y: (%d, %d)", touch_point.pressed ? "PRESS" : "RELEASE", in main()
144 touch_point.x, touch_point.y); in main()
150 display_write(display_dev, get_draw_position(touch_point.x, WIDTH), in main()
151 get_draw_position(touch_point.y, HEIGHT), &buf_desc, buffer_cross); in main()
[all …]