Merge pull request #4028 from zhangsz0516/zhangsz_1117

[componets/drivers/touch]完善Touch设备命令
This commit is contained in:
Bernard Xiong 2020-11-18 08:07:54 +08:00 committed by GitHub
commit 37ecf07992
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 */