hooked-up keymap/matrix, compiling, not working
This commit is contained in:
@@ -69,6 +69,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#ifdef MIDI_ENABLE
|
||||
# include "process_midi.h"
|
||||
#endif
|
||||
#ifdef QWIIC_KEYBOARD_ENABLE
|
||||
# include "qwiic/qwiic_keyboard.h"
|
||||
#endif
|
||||
|
||||
#ifdef MATRIX_HAS_GHOST
|
||||
extern const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS];
|
||||
@@ -181,11 +184,14 @@ void keyboard_init(void) {
|
||||
#if defined(NKRO_ENABLE) && defined(FORCE_NKRO)
|
||||
keymap_config.nkro = 1;
|
||||
#endif
|
||||
#ifdef QWIIC_KEYBOARD_ENABLE
|
||||
qwiic_keyboard_init();
|
||||
#endif
|
||||
}
|
||||
|
||||
/** \brief Keyboard task: Do keyboard routine jobs
|
||||
*
|
||||
* Do routine keyboard jobs:
|
||||
* Do routine keyboard jobs:
|
||||
*
|
||||
* * scan matrix
|
||||
* * handle mouse movements
|
||||
@@ -291,6 +297,10 @@ MATRIX_LOOP_END:
|
||||
midi_task();
|
||||
#endif
|
||||
|
||||
#ifdef QWIIC_KEYBOARD_ENABLE
|
||||
qwiic_keyboard_task();
|
||||
#endif
|
||||
|
||||
// update LED
|
||||
if (led_status != host_keyboard_leds()) {
|
||||
led_status = host_keyboard_leds();
|
||||
|
||||
Reference in New Issue
Block a user