Files
btntest/include/touch.h
DESKTOP-PUHFO60\dsx2016 74fc5085f0 Fix 3.5C backlight to GPIO27 and ship GT911 capacitive touch.
Align cyd_35r with CYD guide (BL=27, INT as input after reset); export flashable firmware/cyd_35r.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-25 11:40:41 +08:00

13 lines
284 B
C

#pragma once
#include <lvgl.h>
#include <stdint.h>
void touch_init();
void touch_read_cb(lv_indev_t *indev, lv_indev_data_t *data);
// 调试:最近一次触点
extern int16_t g_dbg_phys_x, g_dbg_phys_y;
extern int16_t g_dbg_logic_x, g_dbg_logic_y;
extern bool g_dbg_touch_down;