some more touchpad stuff
This commit is contained in:
parent
82dbef4c8d
commit
308184ead1
@ -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;
|
||||
}
|
||||
|
@ -35,7 +35,7 @@
|
||||
/* Driver hardware support. */
|
||||
/*===========================================================================*/
|
||||
|
||||
#define TOUCHPAD_PRESSURE_DIRECTION TRUE
|
||||
#define TOUCHPAD_PRESSURE TRUE
|
||||
|
||||
#endif /* HAL_USE_TOUCHPAD */
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user