summaryrefslogtreecommitdiff
path: root/keyboards/whitefox/keymaps/konstantin/config.h
diff options
context:
space:
mode:
authorKonstantin Đorđević <vomindoraan@gmail.com>2018-11-05 15:04:14 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-11-05 06:04:14 -0800
commitd1d5f200787f70bb853e32d5e5e2ce7b35ef7a54 (patch)
treede37af51bc3da3905b5b033e8080c38a92f58040 /keyboards/whitefox/keymaps/konstantin/config.h
parentf2fda1bd56c97019777fb2a028d088ae37693b0f (diff)
Update whitefox/konstantin keymap (#4363)
* Use Magic+Esc for entering bootloader mode * Expand rules.mk * Improve FN_RCTL tap dance * Avoid one-line if statements * Add PROGMEM to keymaps definition * td_fn_rctl_* → td_fn_rctrl_* * Fix FN_RCTL tap dance bug when count is 4, 8, 12 etc. * Add ACTION_TAP_DANCE_DOUBLE_MODS * Rearrange/rename keycode defines * Use RAL_RGU and RCT_RSF in keymaps * Replace keymap ASCII art with box drawing characters * Add FN_FNLK and use it * Set Unicode input mode in eeconfig_init_user instead of matrix_init_user
Diffstat (limited to 'keyboards/whitefox/keymaps/konstantin/config.h')
-rw-r--r--keyboards/whitefox/keymaps/konstantin/config.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/keyboards/whitefox/keymaps/konstantin/config.h b/keyboards/whitefox/keymaps/konstantin/config.h
index 39450d6802..d1c3002d27 100644
--- a/keyboards/whitefox/keymaps/konstantin/config.h
+++ b/keyboards/whitefox/keymaps/konstantin/config.h
@@ -2,6 +2,12 @@
#define FORCE_NKRO
+#undef IS_COMMAND
+#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RCTL)))
+
+#define MAGIC_KEY_LAYER0_ALT1 BSLS
+#define MAGIC_KEY_BOOTLOADER ESC
+
#define MOUSEKEY_DELAY 50
#define MOUSEKEY_INTERVAL 15
#define MOUSEKEY_MAX_SPEED 4
@@ -12,6 +18,3 @@
#define PERMISSIVE_HOLD
#define TAPPING_TERM 200
#define TAPPING_TOGGLE 2
-
-#undef IS_COMMAND
-#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RCTL)))