diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-06-22 23:14:54 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-06-22 23:14:54 +1000 |
commit | c8300fe9c2c7facff1ad32978a5d961690473de4 (patch) | |
tree | 0e653df0a5d733e254b2d5d3a463968285340837 /drivers/ginput/touch/FT5x06/ginput_lld_mouse_config.h | |
parent | d362d9603e9d161e7006282f882205754e5afc58 (diff) | |
parent | 9aa1e95423f681277d048bed6b9acc5101f2cbe2 (diff) | |
download | uGFX-c8300fe9c2c7facff1ad32978a5d961690473de4.tar.gz uGFX-c8300fe9c2c7facff1ad32978a5d961690473de4.tar.bz2 uGFX-c8300fe9c2c7facff1ad32978a5d961690473de4.zip |
Merge branch 'master' into GWIN
Diffstat (limited to 'drivers/ginput/touch/FT5x06/ginput_lld_mouse_config.h')
-rw-r--r-- | drivers/ginput/touch/FT5x06/ginput_lld_mouse_config.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/drivers/ginput/touch/FT5x06/ginput_lld_mouse_config.h b/drivers/ginput/touch/FT5x06/ginput_lld_mouse_config.h new file mode 100644 index 00000000..c990e921 --- /dev/null +++ b/drivers/ginput/touch/FT5x06/ginput_lld_mouse_config.h @@ -0,0 +1,32 @@ +/* + * This file is subject to the terms of the GFX License. If a copy of + * the license was not distributed with this file, you can obtain one at: + * + * http://chibios-gfx.com/license.html + */ + +/** + * @file drivers/ginput/touch/STMPE811/ginput_lld_mouse_config.h + * @brief GINPUT LLD header file for mouse/touch driver. + * + * @defgroup Mouse Mouse + * @ingroup GINPUT + * + * @{ + */ + +#ifndef _LLD_GINPUT_MOUSE_CONFIG_H +#define _LLD_GINPUT_MOUSE_CONFIG_H + +#define GINPUT_MOUSE_EVENT_TYPE GEVENT_TOUCH +#define GINPUT_MOUSE_NEED_CALIBRATION TRUE +#define GINPUT_MOUSE_LLD_CALIBRATION_LOADSAVE FALSE +#define GINPUT_MOUSE_MAX_CALIBRATION_ERROR 15 +#define GINPUT_MOUSE_READ_CYCLES 1 +#define GINPUT_MOUSE_POLL_PERIOD 25 +#define GINPUT_MOUSE_MAX_CLICK_JITTER 10 +#define GINPUT_MOUSE_MAX_MOVE_JITTER 5 +#define GINPUT_MOUSE_CLICK_TIME 450 + +#endif /* _LLD_GINPUT_MOUSE_CONFIG_H */ +/** @} */ |