keymap: set unused params to 0

This commit is contained in:
He4eT 2023-12-04 01:23:12 +01:00
commit 0e32c765d6
2 changed files with 13 additions and 46 deletions

View file

@ -13,7 +13,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#pragma once #pragma once
#define USE_SERIAL #define USE_SERIAL
@ -22,19 +21,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SPLIT_USB_DETECT #define SPLIT_USB_DETECT
#define SPLIT_USB_TIMEOUT 2500 #define SPLIT_USB_TIMEOUT 2500
#define VIAL_KEYBOARD_UID {0x8A, 0x86, 0x65, 0x9D, 0x13, 0xE1, 0xCB, 0x81} #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_ROWS { 0, 0 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 1 } #define VIAL_UNLOCK_COMBO_COLS { 0, 1 }
// Vial features /* Vial features */
#define DYNAMIC_KEYMAP_LAYER_COUNT 5
// looks like this DYNAMIC_MACRO_SIZE doesn't change anything #define DYNAMIC_KEYMAP_LAYER_COUNT 4
#define DYNAMIC_MACRO_SIZE 0 #define DYNAMIC_MACRO_SIZE 0
/* 8 entries take only 6 bytes more than 2 entries #define VIAL_KEY_OVERRIDE_ENTRIES 0
Thus, 8 and 0 are the only reasonable values. */ #define VIAL_TAP_DANCE_ENTRIES 0
#define VIAL_KEY_OVERRIDE_ENTRIES 8 #define VIAL_COMBO_ENTRIES 0
#define VIAL_TAP_DANCE_ENTRIES 8
#define VIAL_COMBO_ENTRIES 8

View file

@ -1,43 +1,13 @@
VIA_ENABLE = yes VIA_ENABLE = yes
VIAL_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 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 COMBO_ENABLE = no
# 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
DYNAMIC_MACRO_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 KEY_OVERRIDE_ENABLE = no
TAP_DANCE_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