[Keymap] Minifan minor issues (#12592)

This commit is contained in:
Jos Boersema
2021-04-20 04:40:18 +02:00
committed by GitHub
parent dffa089173
commit f93ad79f41
19 changed files with 507 additions and 315 deletions

View File

@@ -19,20 +19,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define LAYER_STATE_16BIT // This saves more than 400 bytes on the hex file
// place overrides here
// Some defines meant to decrease the firmware size. The firmware is otherwise over the maximum (atmega32u4)
# ifndef LINK_TIME_OPTIMIZATION_ENABLE
//# ifndef LINK_TIME_OPTIMIZATION_ENABLE
//Disable old style macro handling: MACRO() & action_get_macro
# define NO_ACTION_MACRO // This saves 320 bytes
//# define NO_ACTION_MACRO // This saves 320 bytes
//disable calling of action_function() from the fn_actions array (deprecated)
# define NO_ACTION_FUNCTION // This saves 96 bytes
# endif
//# define NO_ACTION_FUNCTION // This saves 96 bytes
//# endif
#define PERMISSIVE_HOLD
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_SLEEP // QMK docs: "If defined, the RGB lighting will be switched off when the host goes to sleep"
#define RGBLIGHT_EFFECT_BREATHING
// Layer switch TT(layer) tapping amount to make it toggle
#define TAPPING_TERM_HOLTAP 225 // 175 ms proved unreliable, 225 ms seems ok (personal preference)