aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/common/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/keyboard.c')
-rw-r--r--tmk_core/common/keyboard.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c
index 849d74aa1..52546866e 100644
--- a/tmk_core/common/keyboard.c
+++ b/tmk_core/common/keyboard.c
@@ -75,6 +75,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
75#ifdef QWIIC_ENABLE 75#ifdef QWIIC_ENABLE
76# include "qwiic.h" 76# include "qwiic.h"
77#endif 77#endif
78#ifdef VELOCIKEY_ENABLE
79 #include "velocikey.h"
80#endif
78 81
79#ifdef MATRIX_HAS_GHOST 82#ifdef MATRIX_HAS_GHOST
80extern const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS]; 83extern const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS];
@@ -336,6 +339,10 @@ MATRIX_LOOP_END:
336 midi_task(); 339 midi_task();
337#endif 340#endif
338 341
342#ifdef VELOCIKEY_ENABLE
343 if (velocikey_enabled()) { velocikey_decelerate(); }
344#endif
345
339 // update LED 346 // update LED
340 if (led_status != host_keyboard_leds()) { 347 if (led_status != host_keyboard_leds()) {
341 led_status = host_keyboard_leds(); 348 led_status = host_keyboard_leds();