From 0e32c765d6ba2e36130714a50ba3b8e16e7df563 Mon Sep 17 00:00:00 2001 From: He4eT Date: Mon, 4 Dec 2023 01:23:12 +0100 Subject: [PATCH] keymap: set unused params to 0 --- keymap/config.h | 19 ++++++++----------- keymap/rules.mk | 40 +++++----------------------------------- 2 files changed, 13 insertions(+), 46 deletions(-) diff --git a/keymap/config.h b/keymap/config.h index 656d6ba..39aa517 100644 --- a/keymap/config.h +++ b/keymap/config.h @@ -13,7 +13,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ - #pragma once #define USE_SERIAL @@ -22,19 +21,17 @@ along with this program. If not, see . #define SPLIT_USB_DETECT #define SPLIT_USB_TIMEOUT 2500 - #define VIAL_KEYBOARD_UID {0x8A, 0x86, 0x65, 0x9D, 0x13, 0xE1, 0xCB, 0x81} -// Vial unlock +/* Vial unlock */ + #define VIAL_UNLOCK_COMBO_ROWS { 0, 0 } #define VIAL_UNLOCK_COMBO_COLS { 0, 1 } -// Vial features -#define DYNAMIC_KEYMAP_LAYER_COUNT 5 -// looks like this DYNAMIC_MACRO_SIZE doesn't change anything +/* Vial features */ + +#define DYNAMIC_KEYMAP_LAYER_COUNT 4 #define DYNAMIC_MACRO_SIZE 0 -/* 8 entries take only 6 bytes more than 2 entries - Thus, 8 and 0 are the only reasonable values. */ -#define VIAL_KEY_OVERRIDE_ENTRIES 8 -#define VIAL_TAP_DANCE_ENTRIES 8 -#define VIAL_COMBO_ENTRIES 8 +#define VIAL_KEY_OVERRIDE_ENTRIES 0 +#define VIAL_TAP_DANCE_ENTRIES 0 +#define VIAL_COMBO_ENTRIES 0 diff --git a/keymap/rules.mk b/keymap/rules.mk index e55b1a6..d474afc 100644 --- a/keymap/rules.mk +++ b/keymap/rules.mk @@ -1,43 +1,13 @@ VIA_ENABLE = yes VIAL_ENABLE = yes -LTO_ENABLE = yes +LTO_ENABLE = yes # LTO makes the compiler work harder when optimizing your code -# 2952 bytes -QMK_SETTINGS = no # Vial tab -# 2144 bytes -MOUSEKEY_ENABLE = yes # Mouse keys -# 544 bytes EXTRAKEY_ENABLE = yes # Audio control and System control +MOUSEKEY_ENABLE = yes # Mouse keys +QMK_SETTINGS = no # Vial QMK-settings tab -# each of the following features take extra space -# in three steps -# - the QMK feature (enables here) -# - the Vial feature (enabled if VIAL_XXX_ENTRIES > 0) -# - each vial entry for the feature - -# qmk feature : 504 bytes -# vial feature : there is no special setting +COMBO_ENABLE = no DYNAMIC_MACRO_ENABLE = no - -# qmk feature : doesn't compile with -# VIAL_KEY_OVERRIDE_ENTRIES = 0 -# with 1 vial entry : 1696 bytes -# with 2 vial entries : 1814 (+118) -# with 3 vial entries : 1830 (+16) -# with 8 vial entries : 1820 (-10) SIC KEY_OVERRIDE_ENABLE = no - -# 1676 bytes + 50 bytes each entry -# qmk feature : 696 -# with 1 vial entry : 1676 (+980) -# with 2 vial entries : 1720 (+44) -# with 8 vial entries : 1714 (-6) -TAP_DANCE_ENABLE = yes - -# 900 bytes + -# qmk feature : 924 -# with 1 vial entry : 1964 (+940) -# with 2 vial entries : 2082 (+118) -# with 8 vial entries : 2046 (-36) -COMBO_ENABLE = yes +TAP_DANCE_ENABLE = no