aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/whitefox/keymaps/konstantin/config.h
diff options
context:
space:
mode:
authorKonstantin Đorđević <vomindoraan@gmail.com>2018-10-19 17:42:01 +0200
committerDrashna Jaelre <drashna@live.com>2018-10-19 08:42:01 -0700
commit6c6897f7789f67076ea2f3f9cfe47da814e599fa (patch)
tree773a944681d74416dc6e418bc84616d99f2ca9b1 /keyboards/whitefox/keymaps/konstantin/config.h
parentae31eb564a340cab53f18fe5290ee5033704be1f (diff)
downloadfirmware-6c6897f7789f67076ea2f3f9cfe47da814e599fa.tar.gz
firmware-6c6897f7789f67076ea2f3f9cfe47da814e599fa.tar.bz2
firmware-6c6897f7789f67076ea2f3f9cfe47da814e599fa.zip
Keymap: Update whitefox/konstantin keymap (#4169)
* td_fn_ctrl_* → td_fn_rctl_* * Swap Fn and RCtrl * Change key combination for Command feature * Replace register/unregister_code call with tap_code * Add virtual desktop controls to keymap * Add/close virtual desktop on Fn+GUI tap dance
Diffstat (limited to 'keyboards/whitefox/keymaps/konstantin/config.h')
-rw-r--r--keyboards/whitefox/keymaps/konstantin/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/whitefox/keymaps/konstantin/config.h b/keyboards/whitefox/keymaps/konstantin/config.h
index ad40105a7..725609b46 100644
--- a/keyboards/whitefox/keymaps/konstantin/config.h
+++ b/keyboards/whitefox/keymaps/konstantin/config.h
@@ -12,3 +12,6 @@
#define MOUSEKEY_TIME_TO_MAX 50
#define MOUSEKEY_WHEEL_MAX_SPEED 1
#define MOUSEKEY_WHEEL_TIME_TO_MAX 50
+
+#undef IS_COMMAND
+#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RCTL)))