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

This commit is contained in:
Chris Lewis
2018-08-18 21:03:02 +10:00
parent 12fcf80d3d
commit 13f7c9e3a1
4 changed files with 36 additions and 8 deletions
+1 -1
View File
@@ -194,7 +194,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)