Swap X coordinate and Y coordinate of the touchscreen.

This commit is contained in:
lijie02 2019-01-11 16:17:14 +08:00
parent 9a5094617b
commit bb3d80eaf4
1 changed files with 3 additions and 3 deletions

View File

@ -171,7 +171,7 @@ extern void gtp_set_io_int(void);
suozhi,1536*2048,gt9271,COF
************************************************************************************/
#define CTP_CFG_GROUP1 {\
0x44,0x0A,0x05,0xDA,0x02,0x05,0x7D,0x00,0x01,0x0B,\
0x44,0x0A,0x05,0xDA,0x02,0x05,0x75,0x00,0x01,0x0B,\
0x23,0x0B,0x46,0x3C,0x03,0x05,0x00,0x00,0x00,0x00,\
0x00,0x00,0x00,0x17,0x19,0x1F,0x14,0x87,0x28,0x0A,\
0x50,0x52,0xB5,0x06,0x00,0x00,0x00,0x98,0x03,0x11,\
@ -352,8 +352,8 @@ extern void gtp_set_io_int(void);
0x00,0x00,0x00,0x00,0xDF,0x01}
#if GTP_CUSTOM_CFG
#define GTP_MAX_HEIGHT 480
#define GTP_MAX_WIDTH 854
#define GTP_MAX_HEIGHT 854
#define GTP_MAX_WIDTH 480
#define GTP_INT_TRIGGER 1 /* 0: Rising 1: Falling*/
#else
#define GTP_MAX_HEIGHT 4096