#include "process_midi.h"
#endif
+#ifdef HAPTIC_ENABLE
+ #include "haptic.h"
+#endif
#ifdef ENCODER_ENABLE
#include "encoder.h"
shutdown_user();
wait_ms(250);
#endif
+#ifdef HAPTIC_ENABLE
+ haptic_shutdown();
+#endif
// this is also done later in bootloader.c - not sure if it's neccesary here
#ifdef BOOTLOADER_CATERINA
*(uint16_t *)0x0800 = 0x7777; // these two are a-star-specific
#if defined(AUDIO_ENABLE) && defined(AUDIO_CLICKY)
process_clicky(keycode, record) &&
#endif //AUDIO_CLICKY
+ #ifdef HAPTIC_ENABLE
+ process_haptic(keycode, record) &&
+ #endif //HAPTIC_ENABLE
process_record_kb(keycode, record) &&
#if defined(RGB_MATRIX_ENABLE) && defined(RGB_MATRIX_KEYPRESSES)
process_rgb_matrix(keycode, record) &&
#if defined(UNICODE_ENABLE) || defined(UNICODEMAP_ENABLE) || defined(UCIS_ENABLE)
unicode_input_mode_init();
#endif
+ #ifdef HAPTIC_ENABLE
+ haptic_init();
+ #endif
matrix_init_kb();
}
encoder_read();
#endif
+ #ifdef HAPTIC_ENABLE
+ haptic_task();
+ #endif
+
matrix_scan_kb();
}
#if defined(BACKLIGHT_ENABLE) && defined(BACKLIGHT_PIN)