From 238d32cf77734bc45c4b8144c6c302b6671a76b1 Mon Sep 17 00:00:00 2001 From: Mark Date: Sat, 9 Jul 2022 13:35:23 -0700 Subject: [PATCH] New version compatibility --- .gitignore | 1 - config.h | 13 ------------- keymaps/default/keymap.c | 2 +- keymaps/default/keymap.h | 25 ------------------------- rules.mk | 2 +- 5 files changed, 2 insertions(+), 41 deletions(-) delete mode 100644 .gitignore diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b173c81..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.gch diff --git a/config.h b/config.h index c2b97f6..69e43c6 100644 --- a/config.h +++ b/config.h @@ -139,16 +139,3 @@ // ZSA says: "fixes space cadet rollover issue" #define DISABLE_SPACE_CADET_ROLLOVER - - -// Disable unnecessary features -//#define NO_DEBUG -//#define NO_PRINT -//#define DEBUG_MATRIX_SCAN_RATE - -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT -#define NO_ACTION_MACRO -#define NO_ACTION_FUNCTION - diff --git a/keymaps/default/keymap.c b/keymaps/default/keymap.c index bfe546f..7177f1d 100644 --- a/keymaps/default/keymap.c +++ b/keymaps/default/keymap.c @@ -93,7 +93,7 @@ void set_layer_color(int layer) { } void rgb_matrix_indicators_user(void) { - if (g_suspend_state || keyboard_config.disable_layer_led) { + if (keyboard_config.disable_layer_led) { return; } diff --git a/keymaps/default/keymap.h b/keymaps/default/keymap.h index cb52875..cbc3e72 100644 --- a/keymaps/default/keymap.h +++ b/keymaps/default/keymap.h @@ -2,31 +2,7 @@ #include "betalupi_ergodox.h" #include "version.h" -//#include "keymap_german.h" -//#include "keymap_nordic.h" -//#include "keymap_french.h" -//#include "keymap_spanish.h" -//#include "keymap_hungarian.h" -//#include "keymap_swedish.h" -//#include "keymap_br_abnt2.h" -//#include "keymap_canadian_multilingual.h" -//#include "keymap_german_ch.h" -//#include "keymap_jp.h" -//#include "keymap_korean.h" -//#include "keymap_bepo.h" -//#include "keymap_italian.h" -//#include "keymap_slovenian.h" -//#include "keymap_lithuanian_azerty.h" -//#include "keymap_danish.h" -//#include "keymap_norwegian.h" -//#include "keymap_portuguese.h" -//#include "keymap_contributions.h" -//#include "keymap_czech.h" -//#include "keymap_romanian.h" #include "keymap_russian.h" -//#include "keymap_uk.h" -//#include "keymap_estonian.h" -//#include "keymap_belgian.h" #include "keymap_us_international.h" @@ -102,7 +78,6 @@ extern int current_lang; -extern bool g_suspend_state; extern rgb_config_t rgb_matrix_config; void set_lang(int lang); diff --git a/rules.mk b/rules.mk index 8577706..5c40a93 100644 --- a/rules.mk +++ b/rules.mk @@ -33,7 +33,7 @@ API_SYSEX_ENABLE = no # to save space MAGIC_ENABLE = no -DEBOUNCE_TYPE = eager_pr +DEBOUNCE_TYPE = sym_eager_pr SRC += \ matrix.c \