hooked-up keymap/matrix, compiling, not working

This commit is contained in:
Jack Humbert 2018-06-09 02:03:32 -04:00
parent 53c518f7d4
commit 2fccc1a064
10 changed files with 251 additions and 275 deletions

View file

@ -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();