xpt2048 add option for using only touch pressure and ignoring IRQ
This commit is contained in:
parent
0fc057b22c
commit
c445eca696
3 changed files with 22 additions and 7 deletions
|
@ -36,6 +36,12 @@ extern "C" {
|
|||
#define XPT2046_Y_INV CONFIG_LV_TOUCH_INVERT_Y
|
||||
#define XPT2046_XY_SWAP CONFIG_LV_TOUCH_XY_SWAP
|
||||
#define XPT2046_TOUCH_CHECK CONFIG_LV_TOUCH_CHECK
|
||||
#if defined(CONFIG_LV_TOUCH_ONLY)
|
||||
#define XPT2046_TOUCH_ONLY CONFIG_LV_TOUCH_ONLY
|
||||
#else
|
||||
#define XPT2046_TOUCH_ONLY 0
|
||||
#endif
|
||||
|
||||
/**********************
|
||||
* TYPEDEFS
|
||||
**********************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue