acid-drop/lib/TouchLib/src/TouchLib.h
2024-05-23 18:42:03 -04:00

34 lines
792 B
C

/**
* @file TouchLib.h
* @author Micky (513673326@qq.com)
* @brief
* @version 0.1
* @date 2022-10-24
*
* @copyright Copyright (c) 2022
*
*/
#ifndef __TOUCHLIB_H__
#define __TOUCHLIB_H__
#if defined(TOUCH_MODULES_CST_SELF)
#include "ModulesCSTSelf.tpp"
typedef TouchLibCSTSelf TouchLib;
#elif defined(TOUCH_MODULES_CST_MUTUAL)
#include "ModulesCSTMutual.tpp"
typedef TouchLibCSTMutual TouchLib;
#elif defined(TOUCH_MODULES_GT911)
#include "ModulesGT911.tpp"
typedef TouchLibGT911 TouchLib;
#elif defined(TOUCH_MODULES_ZTW622)
#include "ModulesZTW622.tpp"
typedef TouchLibZTW622 TouchLib;
#elif defined(TOUCH_MODULES_FT3267) || defined(TOUCH_MODULES_FT5x06)
#include "ModulesFT3267.tpp"
typedef TouchLibFT3267 TouchLib;
#else
#error "Please define a touch chip model."
#endif
#endif