aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/Mikromedia-STM32-M4-ILI9341/ginput_lld_mouse_config.h
blob: 0c0ff48294159b18222cbe6416872c3886d408b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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://ugfx.org/license.html
 */

/**
 * @file    boards/base/Mikromedia-STM32-M4-ILI9341/ginput_lld_mouse_config.h
 * @brief   GINPUT LLD header file for 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		12
#define GINPUT_MOUSE_READ_CYCLES				4
#define GINPUT_MOUSE_POLL_PERIOD				3
#define GINPUT_MOUSE_MAX_CLICK_JITTER			2
#define GINPUT_MOUSE_MAX_MOVE_JITTER			2
#define GINPUT_MOUSE_CLICK_TIME					500

#endif /* _LLD_GINPUT_MOUSE_CONFIG_H */
/** @} */