diff options
| author | Joel Bodenmann <joel@unormal.org> | 2014-04-20 10:41:53 +0200 |
|---|---|---|
| committer | Joel Bodenmann <joel@unormal.org> | 2014-04-20 10:41:53 +0200 |
| commit | c88e25b84fa8d18942df56592cec68f8371a8d41 (patch) | |
| tree | 0c13a89e07560b79ea0092a25f75b7cf630a903f /drivers/ginput/touch/ADS7843/ginput_lld_mouse.c | |
| parent | ad1d70d2957d95161c831e764c6f81c84c332458 (diff) | |
| parent | 33babb4c1a5b749faac6969681e8deff481c4344 (diff) | |
| download | uGFX-c88e25b84fa8d18942df56592cec68f8371a8d41.tar.gz uGFX-c88e25b84fa8d18942df56592cec68f8371a8d41.tar.bz2 uGFX-c88e25b84fa8d18942df56592cec68f8371a8d41.zip | |
Merge branch 'master' of https://bitbucket.org/Tectu/ugfx into gwin
Diffstat (limited to 'drivers/ginput/touch/ADS7843/ginput_lld_mouse.c')
| -rw-r--r-- | drivers/ginput/touch/ADS7843/ginput_lld_mouse.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/drivers/ginput/touch/ADS7843/ginput_lld_mouse.c b/drivers/ginput/touch/ADS7843/ginput_lld_mouse.c index 890b65ae..cb9b6f4e 100644 --- a/drivers/ginput/touch/ADS7843/ginput_lld_mouse.c +++ b/drivers/ginput/touch/ADS7843/ginput_lld_mouse.c @@ -5,15 +5,6 @@ * http://ugfx.org/license.html
*/
-/**
- * @file drivers/ginput/touch/ADS7843/ginput_lld_mouse.c
- * @brief GINPUT Touch low level driver source for the ADS7843.
- *
- * @defgroup Mouse Mouse
- * @ingroup GINPUT
- * @{
- */
-
#include "gfx.h"
#if (GFX_USE_GINPUT && GINPUT_NEED_MOUSE) /*|| defined(__DOXYGEN__)*/
@@ -34,13 +25,6 @@ static uint16_t sampleBuf[7];
static coord_t lastx, lasty;
-/**
- * @brief 7-point median filtering code for touch samples
- *
- * @note This is an internally used routine only.
- *
- * @notapi
- */
static void filter(void) {
uint16_t temp;
int i,j;
@@ -57,29 +41,10 @@ static void filter(void) { }
}
-/**
- * @brief Initialise the mouse/touch.
- *
- * @notapi
- */
void ginput_lld_mouse_init(void) {
init_board();
}
-/**
- * @brief Read the mouse/touch position.
- *
- * @param[in] pt A pointer to the structure to fill
- *
- * @note For drivers that don't support returning a position
- * when the touch is up (most touch devices), it should
- * return the previous position with the new Z value.
- * The z value is the pressure for those touch devices
- * that support it (-100 to 100 where > 0 is touched)
- * or, 0 or 100 for those drivers that don't.
- *
- * @notapi
- */
void ginput_lld_mouse_get_reading(MouseReading *pt) {
uint16_t i;
@@ -127,4 +92,3 @@ void ginput_lld_mouse_get_reading(MouseReading *pt) { }
#endif /* GFX_USE_GINPUT && GINPUT_NEED_MOUSE */
-/** @} */
|
