diff options
author | tmk <nobody@nowhere> | 2013-01-28 14:06:42 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-01-28 14:06:42 +0900 |
commit | 1e3e41a2c9ed8b2f7d44be0aed5d96ed557fa13d (patch) | |
tree | 4846c3d3f8144b3796322ac669d13837f4e09f17 /keyboard/hhkb | |
parent | 854c803fdda30d7f7905c18d777ea85cac9b74d9 (diff) |
Clean code.
Diffstat (limited to 'keyboard/hhkb')
-rw-r--r-- | keyboard/hhkb/config.h | 4 | ||||
-rw-r--r-- | keyboard/hhkb/keymap.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/keyboard/hhkb/config.h b/keyboard/hhkb/config.h index 66dede9a5c..5fcec95eb2 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 2d0dabd703..c7e4cfc385 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 |