src.nth.io/

summaryrefslogtreecommitdiff
path: root/main/touch.h
blob: c2c5f7958308fdbd408d2834ebaafcf922b7509c (plain)
1
2
3
4
5
6
7
8
9
#pragma once

#include "esp_err.h"

// Initialize the FT5426 touch controller (I2C 0x38, shared bus with the
// panel MCU) and start the polling/dispatch task. Safe to call before
// the panel is wired — returns an error and leaves the rest of the
// firmware running.
esp_err_t touch_init(void);