aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/FireBull-STM32F103-FB/ginput_lld_mouse_config.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-11-10 22:09:09 +0100
committerJoel Bodenmann <joel@unormal.org>2013-11-10 22:09:09 +0100
commit75a6dd8404fe693f6002a56efa8b649b013226cc (patch)
tree4dc2de86da1a9d4e51532c5df73e0777c649da01 /boards/base/FireBull-STM32F103-FB/ginput_lld_mouse_config.h
parent9df8b52d165ccb57bf80a82cae0f6b67983e8ef3 (diff)
downloaduGFX-75a6dd8404fe693f6002a56efa8b649b013226cc.tar.gz
uGFX-75a6dd8404fe693f6002a56efa8b649b013226cc.tar.bz2
uGFX-75a6dd8404fe693f6002a56efa8b649b013226cc.zip
added FireBull-STM32F103-FB board
Diffstat (limited to 'boards/base/FireBull-STM32F103-FB/ginput_lld_mouse_config.h')
-rw-r--r--boards/base/FireBull-STM32F103-FB/ginput_lld_mouse_config.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/boards/base/FireBull-STM32F103-FB/ginput_lld_mouse_config.h b/boards/base/FireBull-STM32F103-FB/ginput_lld_mouse_config.h
new file mode 100644
index 00000000..f3a89208
--- /dev/null
+++ b/boards/base/FireBull-STM32F103-FB/ginput_lld_mouse_config.h
@@ -0,0 +1,22 @@
+/*
+ * 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
+ */
+
+#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 */
+