From e2eb9283ddb7ee3b733ae248d2f5960e4d5dabf2 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sat, 1 Oct 2022 15:40:56 +0200 Subject: save a bit space --- config.h | 13 +++++++++++++ rules.mk | 11 +++++++++++ 2 files changed, 24 insertions(+) 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 -- cgit v1.2.3