Home
last modified time | relevance | path

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

/Zephyr-latest/samples/subsys/input/draw_touch_events/src/
Dmain.c24 #define WIDTH (DT_PROP(DT_CHOSEN(zephyr_display), width)) macro
26 #define CROSS_DIM (WIDTH / CONFIG_SCREEN_WIDTH_TO_CROSS_DIM)
71 for (x = 0; x < WIDTH; x += CROSS_DIM) { in clear_screen()
146 display_write(display_dev, get_draw_position(touch_point_drawn.x, WIDTH), in main()
150 display_write(display_dev, get_draw_position(touch_point.x, WIDTH), in main()