Groundwork for toggling momentum on/off (currently always on)

This commit is contained in:
Chris Lewis
2018-08-23 22:05:13 +10:00
parent 6604f164ac
commit 4eafbcf008
4 changed files with 36 additions and 8 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ bool process_record_quantum(keyrecord_t *record) {
uint16_t keycode;
#ifdef RGBLIGHT_ENABLE
momentum_accelerate();
if (momentum_enabled()) momentum_accelerate();
#endif
#if !defined(NO_ACTION_LAYER) && defined(PREVENT_STUCK_MODIFIERS)