typedef struct { uint8_t touchDetected; /*!< Total number of active touches detected at last scan */ uint16_t touchX[TS_MAX_NB_TOUCH]; /*!< Touch X[0], X[1] coordinates on 12 bits */ uint16_t touchY[TS_MAX_NB_TOUCH]; /*!< Touch Y[0], Y[1] coordinates on 12 bits */ #if (TS_MULTI_TOUCH_SUPPORTED == 1) uint8_t touchWeight[TS_MAX_NB_TOUCH]; /*!< Touch_Weight[0], Touch_Weight[1] : weight property of touches */ uint8_t touchEventId[TS_MAX_NB_TOUCH]; /*!< Touch_EventId[0], Touch_EventId[1] : take value of type @ref TS_TouchEventTypeDef */ uint8_t touchArea[TS_MAX_NB_TOUCH]; /*!< Touch_Area[0], Touch_Area[1] : touch area of each touch */ uint32_t gestureId; /*!< type of gesture detected : take value of type @ref TS_GestureIdTypeDef */ #endif /* TS_MULTI_TOUCH_SUPPORTED == 1 */ } TS_StateTypeDef; 具体每一项在检测触摸是否有效 时 的作用。 希望有人讲解一下。 |
评分
查看全部评分