aboutsummaryrefslogtreecommitdiffstats
path: root/keyboard/hhkb
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-01-28 14:06:42 +0900
committertmk <nobody@nowhere>2013-01-28 14:06:42 +0900
commit1e3e41a2c9ed8b2f7d44be0aed5d96ed557fa13d (patch)
tree4846c3d3f8144b3796322ac669d13837f4e09f17 /keyboard/hhkb
parent854c803fdda30d7f7905c18d777ea85cac9b74d9 (diff)
downloadfirmware-1e3e41a2c9ed8b2f7d44be0aed5d96ed557fa13d.tar.gz
firmware-1e3e41a2c9ed8b2f7d44be0aed5d96ed557fa13d.tar.bz2
firmware-1e3e41a2c9ed8b2f7d44be0aed5d96ed557fa13d.zip
Clean code.
Diffstat (limited to 'keyboard/hhkb')
-rw-r--r--keyboard/hhkb/config.h4
-rw-r--r--keyboard/hhkb/keymap.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/keyboard/hhkb/config.h b/keyboard/hhkb/config.h
index 66dede9a5..5fcec95eb 100644
--- a/keyboard/hhkb/config.h
+++ b/keyboard/hhkb/config.h
@@ -59,6 +59,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define MOUSEKEY_DELAY_TIME 100
#endif
+/* period of tapping(ms) */
+#define TAPPING_TERM 200
+/* tap count needed for toggling a feature */
+#define TAPPING_TOGGLE 5
/* PS/2 mouse */
#ifdef PS2_MOUSE_ENABLE
diff --git a/keyboard/hhkb/keymap.c b/keyboard/hhkb/keymap.c
index 2d0dabd70..c7e4cfc38 100644
--- a/keyboard/hhkb/keymap.c
+++ b/keyboard/hhkb/keymap.c
@@ -1,5 +1,5 @@
/*
-Copyright 2011 Jun Wako <wakojun@gmail.com>
+Copyright 2011,2012,2013 Jun Wako <wakojun@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by