acid-drop

- Hacking the planet from a LilyGo T-Deck using custom firmware
git clone git://git.acid.vegas/acid-drop.git
Log | Files | Refs | Archive | README | LICENSE

TouchLib.h (792B)

      1 /**
      2  * @file TouchLib.h
      3  * @author Micky (513673326@qq.com)
      4  * @brief
      5  * @version 0.1
      6  * @date 2022-10-24
      7  *
      8  * @copyright Copyright (c) 2022
      9  *
     10  */
     11 
     12 #ifndef __TOUCHLIB_H__
     13 #define __TOUCHLIB_H__
     14 
     15 #if defined(TOUCH_MODULES_CST_SELF)
     16 #include "ModulesCSTSelf.tpp"
     17 typedef TouchLibCSTSelf TouchLib;
     18 #elif defined(TOUCH_MODULES_CST_MUTUAL)
     19 #include "ModulesCSTMutual.tpp"
     20 typedef TouchLibCSTMutual TouchLib;
     21 #elif defined(TOUCH_MODULES_GT911)
     22 #include "ModulesGT911.tpp"
     23 typedef TouchLibGT911 TouchLib;
     24 #elif defined(TOUCH_MODULES_ZTW622)
     25 #include "ModulesZTW622.tpp"
     26 typedef TouchLibZTW622 TouchLib;
     27 #elif defined(TOUCH_MODULES_FT3267) || defined(TOUCH_MODULES_FT5x06)
     28 #include "ModulesFT3267.tpp"
     29 typedef TouchLibFT3267 TouchLib;
     30 #else
     31 #error "Please define a touch chip model."
     32 #endif
     33 
     34 #endif