diff options
| author | tmk <nobody@nowhere> | 2013-10-07 23:28:17 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2013-10-07 23:28:17 +0900 |
| commit | 35f9f30074263a2a738cbfc513fca6d812ddf6ff (patch) | |
| tree | bec1e4e96a58eb14feef42b8b1f2057d07ff476a /keyboard/hhkb | |
| parent | d52d554360d3bf06189bfd4f386fa99348d8a0a8 (diff) | |
| download | qmk_firmware-35f9f30074263a2a738cbfc513fca6d812ddf6ff.tar.gz qmk_firmware-35f9f30074263a2a738cbfc513fca6d812ddf6ff.zip | |
Add timeout option to MODS_ONESHOT #66
Diffstat (limited to 'keyboard/hhkb')
| -rw-r--r-- | keyboard/hhkb/Makefile | 6 | ||||
| -rw-r--r-- | keyboard/hhkb/config.h | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/keyboard/hhkb/Makefile b/keyboard/hhkb/Makefile index 34bafc24f..94078702c 100644 --- a/keyboard/hhkb/Makefile +++ b/keyboard/hhkb/Makefile | |||
| @@ -128,6 +128,8 @@ include $(TOP_DIR)/protocol/lufa.mk | |||
| 128 | include $(TOP_DIR)/common.mk | 128 | include $(TOP_DIR)/common.mk |
| 129 | include $(TOP_DIR)/rules.mk | 129 | include $(TOP_DIR)/rules.mk |
| 130 | 130 | ||
| 131 | debug-on: EXTRAFLAGS += -DDEBUG | 131 | debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION |
| 132 | #debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION | ||
| 133 | debug-on: all | 132 | debug-on: all |
| 133 | |||
| 134 | debug-off: EXTRAFLAGS += -DNO_DEBUG -DNO_PRINT | ||
| 135 | debug-off: all | ||
diff --git a/keyboard/hhkb/config.h b/keyboard/hhkb/config.h index 83a911bea..a8f76ae6b 100644 --- a/keyboard/hhkb/config.h +++ b/keyboard/hhkb/config.h | |||
| @@ -40,7 +40,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 40 | #define TAPPING_TERM 300 | 40 | #define TAPPING_TERM 300 |
| 41 | /* tap count needed for toggling a feature */ | 41 | /* tap count needed for toggling a feature */ |
| 42 | #define TAPPING_TOGGLE 5 | 42 | #define TAPPING_TOGGLE 5 |
| 43 | 43 | /* Oneshot timeout(ms) */ | |
| 44 | #define ONESHOT_TIMEOUT 300 | ||
| 44 | 45 | ||
| 45 | /* Boot Magic salt key: Space */ | 46 | /* Boot Magic salt key: Space */ |
| 46 | #define BOOTMAGIC_KEY_SALT KC_FN6 | 47 | #define BOOTMAGIC_KEY_SALT KC_FN6 |
