aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ginput/touch/FT5x06/ginput_lld_mouse.c
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-03-28 19:45:08 +0100
committerJoel Bodenmann <joel@unormal.org>2014-03-28 19:45:08 +0100
commit08e1b0ebc7a5b9a960994e16710465dfb67f66ee (patch)
tree72137dac1330a3ebb41b294a8d762b98dc559553 /drivers/ginput/touch/FT5x06/ginput_lld_mouse.c
parent16f86ed2e6980fd0ddfa4cedb6bdaf51881f0e3c (diff)
downloaduGFX-08e1b0ebc7a5b9a960994e16710465dfb67f66ee.tar.gz
uGFX-08e1b0ebc7a5b9a960994e16710465dfb67f66ee.tar.bz2
uGFX-08e1b0ebc7a5b9a960994e16710465dfb67f66ee.zip
Removed the doxygen inside of every driver as doxygen is only meant for highlevel API documentation.
Documenting the drivers interface should be done inside a template driver or the gdisp LLD abstraction.
Diffstat (limited to 'drivers/ginput/touch/FT5x06/ginput_lld_mouse.c')
-rw-r--r--drivers/ginput/touch/FT5x06/ginput_lld_mouse.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/drivers/ginput/touch/FT5x06/ginput_lld_mouse.c b/drivers/ginput/touch/FT5x06/ginput_lld_mouse.c
index 43baa9b7..7a50c5f6 100644
--- a/drivers/ginput/touch/FT5x06/ginput_lld_mouse.c
+++ b/drivers/ginput/touch/FT5x06/ginput_lld_mouse.c
@@ -5,15 +5,6 @@
* http://ugfx.org/license.html
*/
-/**
- * @file drivers/ginput/touch/STMPE811/ginput_lld_mouse.c
- * @brief GINPUT Touch low level driver source for the STMPE811.
- *
- * @defgroup Mouse Mouse
- * @ingroup GINPUT
- * @{
- */
-
#include "gfx.h"
#if (GFX_USE_GINPUT && GINPUT_NEED_MOUSE) /*|| defined(__DOXYGEN__)*/
@@ -28,11 +19,6 @@
static coord_t x, y, z;
static uint8_t touched;
-/**
- * @brief Initialise the mouse/touch.
- *
- * @notapi
- */
void ginput_lld_mouse_init(void) {
init_board();
@@ -65,20 +51,6 @@ void ginput_lld_mouse_init(void) {
write_reg(FT5x06_ID_G_PERIODMONITOR, 1, 0x28);
}
-/**
- * @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) {
// Poll to get the touched status
uint8_t last_touched;
@@ -114,5 +86,3 @@ void ginput_lld_mouse_get_reading(MouseReading *pt) {
}
#endif /* GFX_USE_GINPUT && GINPUT_NEED_MOUSE */
-/** @} */
-