aboutsummaryrefslogtreecommitdiffstats
path: root/users/konstantin
diff options
context:
space:
mode:
authorKonstantin Đorđević <vomindoraan@gmail.com>2020-05-16 08:36:08 +0200
committerGitHub <noreply@github.com>2020-05-15 23:36:08 -0700
commit9cf69a199715a2aa7ba2ca7ab8f5553bbeb1dcd5 (patch)
treea8975904801263891684351944e566a1d1a1a767 /users/konstantin
parentc6cf1ae4e71f6d520c415e02b6b50f482c936698 (diff)
downloadfirmware-9cf69a199715a2aa7ba2ca7ab8f5553bbeb1dcd5.tar.gz
firmware-9cf69a199715a2aa7ba2ca7ab8f5553bbeb1dcd5.tar.bz2
firmware-9cf69a199715a2aa7ba2ca7ab8f5553bbeb1dcd5.zip
[Keymap] Update personal userspace and keymaps (#9082)
* Replace custom RCTRL implementation with built-in LM Caveat: sends LCtrl instead of RCtrl * Enable VIA support in KBD6X keymap * Disable LTO on ChibiOS boards * Disable locking support and Magic keycodes for all keymaps * Organize and annotate rules.mk and config.h files * Enable Console for Melody96 keymap * L_RANGE_KEYMAP → LAYERS_KEYMAP * Revert "Replace custom RCTRL implementation with built-in LM" This reverts commit 17d706a82d7e31b53cd84efeb9b2ddb9922a2368. * Set DYNAMIC_KEYMAP_LAYER_COUNT to 3 in Doro67 and Wasdat keymaps * Enable Bootmagic Lite for all VIA keymaps
Diffstat (limited to 'users/konstantin')
-rw-r--r--users/konstantin/config.h16
-rw-r--r--users/konstantin/konstantin.h2
-rw-r--r--users/konstantin/rules.mk4
3 files changed, 15 insertions, 7 deletions
diff --git a/users/konstantin/config.h b/users/konstantin/config.h
index dcea9be27..2629cdd57 100644
--- a/users/konstantin/config.h
+++ b/users/konstantin/config.h
@@ -1,7 +1,10 @@
#pragma once
+// Keyboard reports
#define FORCE_NKRO
+#define USB_POLLING_INTERVAL_MS 1
+// Mouse keys
#define MOUSEKEY_DELAY 0
#define MOUSEKEY_INTERVAL 10
#define MOUSEKEY_MAX_SPEED 4
@@ -11,22 +14,25 @@
#define MOUSEKEY_WHEEL_MAX_SPEED 4
#define MOUSEKEY_WHEEL_TIME_TO_MAX 50
-#define NO_ACTION_FUNCTION
-#define NO_ACTION_MACRO
-#define NO_ACTION_ONESHOT
-
+// RGB lighting
#undef RGBLIGHT_ANIMATIONS
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
#define RGBLIGHT_EFFECT_SNAKE
+// Tapping
#define PERMISSIVE_HOLD
#define TAPPING_TERM 200
#define TAPPING_TOGGLE 3
+// Unicode
#define UNICODE_CYCLE_PERSIST false
#define UNICODE_SELECTED_MODES UC_WINC, UC_WIN, UC_LNX
#define UNICODE_KEY_WINC KC_RGUI
-#define USB_POLLING_INTERVAL_MS 1
+// Firmware size reduction
+#undef LOCKING_SUPPORT_ENABLE
+#define NO_ACTION_FUNCTION
+#define NO_ACTION_MACRO
+#define NO_ACTION_ONESHOT
diff --git a/users/konstantin/konstantin.h b/users/konstantin/konstantin.h
index 0936e3c3e..72a161623 100644
--- a/users/konstantin/konstantin.h
+++ b/users/konstantin/konstantin.h
@@ -76,7 +76,7 @@ enum layers_user {
L_NUMPAD,
#endif
- L_RANGE_KEYMAP,
+ LAYERS_KEYMAP,
};
void keyboard_pre_init_keymap(void);
diff --git a/users/konstantin/rules.mk b/users/konstantin/rules.mk
index d989f486c..6fe3a8ad8 100644
--- a/users/konstantin/rules.mk
+++ b/users/konstantin/rules.mk
@@ -13,4 +13,6 @@ ifneq (,$(filter yes,$(UNICODE_ENABLE) $(UNICODEMAP_ENABLE)))
SRC += unicode.c
endif
-LTO_ENABLE = yes
+ifneq ($(PLATFORM),CHIBIOS)
+ LTO_ENABLE = yes
+endif