summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2022-10-01 15:40:56 +0200
committerChristoph Cullmann <cullmann@kde.org>2022-10-01 15:40:56 +0200
commite2eb9283ddb7ee3b733ae248d2f5960e4d5dabf2 (patch)
treed20dedff081edbcc3a2e2593fdaa7353cd68227c
parent38fd24f414f76d9ef135a21a56b87699d1902f6b (diff)
save a bit space
-rw-r--r--config.h13
-rw-r--r--rules.mk11
2 files changed, 24 insertions, 0 deletions
diff --git a/config.h b/config.h
index 5453c02..e7b1bcc 100644
--- a/config.h
+++ b/config.h
@@ -16,12 +16,25 @@
#pragma once
+// not more than 8 layers
+#define LAYER_STATE_8BIT
+
// ensure home row modifiers don't cause havoc
#define IGNORE_MOD_TAP_INTERRUPT
// normal startup sound
#define STARTUP_SONG SONG(PLANCK_SOUND)
+// no music mode used
+#define NO_MUSIC_MODE
+
+// we don't need locking
+#undef LOCKING_SUPPORT_ENABLE
+#undef LOCKING_RESYNC_ENABLE
+
+// we don't use one shot keys
+#define NO_ACTION_ONESHOT
+
// no lights if we sleep
#define RGBLIGHT_SLEEP
diff --git a/rules.mk b/rules.mk
index e133235..ba2f6e5 100644
--- a/rules.mk
+++ b/rules.mk
@@ -1,3 +1,14 @@
+# properly optimize
+LTO_ENABLE = yes
+
# less debugging features
COMMAND_ENABLE = no
CONSOLE_ENABLE = no
+
+# we have some real mouse
+MOUSEKEY_ENABLE = no
+
+# more features we not use
+SPACE_CADET_ENABLE = no
+GRAVE_ESC_ENABLE = no
+MUSIC_ENABLE = no