8b51bcf46f
Touch: - Move defines that may be altered by the touch config file to the lld header file. - Move the definition of the Touch driver structure to the lld config file. - Changed CONVERSIONS macro to TOUCHSCREEN_CONVERSIONS - Replaced references to GDISP_SCREEN_WIDTH with gdispGetWidth - Renamed TOUCHSCREEN_HAS_IRQ to TOUCHSCREEN_HAS_PRESSED to match new function name. - Added prototypes for calibration storage functions to touchscreen_lld.h so that either the lld driver or the application can define the function. Console: -Deprecated into "old" directory. Functionality replaced by gwin. |
||
---|---|---|
.. | ||
readme.txt | ||
touchscreen_lld_config.h | ||
touchscreen_lld.c | ||
touchscreen_lld.mk |
To use this driver: 1. Add in your halconf.h: a) #define GFX_USE_TOUCHSCREEN TRUE 2. To your makefile add the following lines: include $(GFXLIB)/drivers/touchscreen/XPT2046/touchscreen_lld.mk