[Keymap] Add oled improvements and cnano keymap for drashna (#16133)

This commit is contained in:
Drashna Jaelre
2022-01-30 13:20:33 -08:00
committed by GitHub
parent 3555ee0555
commit 941b1d35b8
22 changed files with 797 additions and 189 deletions

View File

@ -10,7 +10,7 @@
# include "autocorrection/autocorrection.h"
#endif
#ifdef __AVR__
#include <avr/wdt.h>
# include <avr/wdt.h>
#endif
uint16_t copy_paste_timer;
@ -36,7 +36,7 @@ __attribute__((weak)) bool process_record_secrets(uint16_t keycode, keyrecord_t
* @return true Continue processing keycode and send to host
* @return false Stop process keycode and do not send to host
*/
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
// If console is enabled, it will print the matrix position and status of each key pressed
#ifdef KEYLOGGER_ENABLE
uprintf("KL: kc: 0x%04X, col: %2u, row: %2u, pressed: %b, time: %5u, int: %b, count: %u\n", keycode, record->event.key.col, record->event.key.row, record->event.pressed, record->event.time, record->tap.interrupted, record->tap.count);
@ -234,7 +234,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *re
software_reset();
}
return false;
}
return true;
}