1
0
Fork 0

successfully read data from the matrix

This commit is contained in:
Gabriel Young 2017-03-19 15:59:21 -07:00
parent 19fd20261b
commit d7fc236540
4 changed files with 93 additions and 75 deletions

View file

@ -3,9 +3,9 @@
# the appropriate keymap folder that will get included automatically
#
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
CONSOLE_ENABLE = no # Console for debug(+400)
CONSOLE_ENABLE = yes # Console for debug(+400)
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality

View file

@ -28,11 +28,12 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
void matrix_init_user(void) {
debug_enable = true;
}
void matrix_scan_user(void) {
if (matrix_is_modified())
matrix_print();
}
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
@ -41,4 +42,4 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
void led_set_user(uint8_t usb_led) {
}
}