[componets/drivers/touch]完善Touch设备命令

This commit is contained in:
张世争 2020-11-17 08:34:30 +08:00
parent 4b2b9a87c6
commit 10862586bf
1 changed files with 3 additions and 0 deletions

View File

@ -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 */