From 10862586bfea00069b9a3a7cb779cc860f420d38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=B8=96=E4=BA=89?= Date: Tue, 17 Nov 2020 08:34:30 +0800 Subject: [PATCH] =?UTF-8?q?[componets/drivers/touch]=E5=AE=8C=E5=96=84Touc?= =?UTF-8?q?h=E8=AE=BE=E5=A4=87=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/drivers/touch/touch.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/drivers/touch/touch.h b/components/drivers/touch/touch.h index 6b7288a5a0..c33fe17520 100644 --- a/components/drivers/touch/touch.h +++ b/components/drivers/touch/touch.h @@ -45,6 +45,9 @@ extern "C" { #define RT_TOUCH_CTRL_SET_X_TO_Y (5) /* Set X Y coordinate exchange */ #define RT_TOUCH_CTRL_DISABLE_INT (6) /* Disable interrupt */ #define RT_TOUCH_CTRL_ENABLE_INT (7) /* Enable interrupt */ +#define RT_TOUCH_CTRL_POWER_ON (8) /* Touch Power On */ +#define RT_TOUCH_CTRL_POWER_OFF (9) /* Touch Power Off */ +#define RT_TOUCH_CTRL_GET_STATUS (10) /* Get Touch Power Status */ /* Touch event */ #define RT_TOUCH_EVENT_NONE (0) /* Touch none */