some more touchpad stuff

This commit is contained in:
Tectu 2012-08-09 00:43:52 +02:00
parent 82dbef4c8d
commit 308184ead1
3 changed files with 12 additions and 8 deletions

View File

@ -50,7 +50,7 @@
/*===========================================================================*/
#if !defined(__DOXYGEN__)
TOUCHPADDriver TOUCHPAD;
TOUCHPADDriver Touchpad;
#endif
/*===========================================================================*/
@ -72,12 +72,15 @@
/* ---- Required Routines ---- */
/**
* @brief Low level GDISP driver initialization.
* @brief Low level Touchpad driver initialization.
*
* @notapi
*/
void touchpad_lld_init(void) {
void tp_lld_init(TOUCHPADDriver *tp) {
/* Initialise the TOUCHPAD structure */
/* ToDo */
(void)tp;
}
/**
@ -85,7 +88,7 @@ void touchpad_lld_init(void) {
*
* @notapi
*/
uint16_t touchpad_lld_read_x(void) {
uint16_t tp_lld_read_x(void) {
/* ToDo */
return 0;
}
@ -95,7 +98,7 @@ uint16_t touchpad_lld_read_x(void) {
*
* @notapi
*/
uint16_t touchpad_lld_read_y(void) {
uint16_t tp_lld_read_y(void) {
/* ToDo */
return 0;
}
@ -107,7 +110,7 @@ uint16_t touchpad_lld_read_y(void) {
*
* @notapi
*/
uint16_t toucpad_lld_read_y(void) {
uint16_t tp_lld_read_y(void) {
/* ToDo */
return 0;
}

View File

@ -35,7 +35,7 @@
/* Driver hardware support. */
/*===========================================================================*/
#define TOUCHPAD_PRESSURE_DIRECTION TRUE
#define TOUCHPAD_PRESSURE TRUE
#endif /* HAL_USE_TOUCHPAD */

View File

@ -3,7 +3,8 @@
HALSRC += $(LCDLIB)/halext/src/gdisp.c \
$(LCDLIB)/halext/src/gdisp_fonts.c \
$(LCDLIB)/halext/src/gdisp_emulation.c
$(LCDLIB)/halext/src/gdisp_emulation.c \
$(LCDLIB)/halext/src/touchpad.c
# Required include directories
HALINC += $(LCDLIB)/halext/include