forked from mirrors/qmk_userspace
[Keymap] Add oled improvements and cnano keymap for drashna (#16133)
This commit is contained in:
parent
3555ee0555
commit
941b1d35b8
22 changed files with 797 additions and 189 deletions
|
@ -181,7 +181,6 @@ bool process_record_aussie(uint16_t keycode, keyrecord_t *record) {
|
|||
bool process_record_zalgo(uint16_t keycode, keyrecord_t *record) {
|
||||
if ((KC_A <= keycode) && (keycode <= KC_0)) {
|
||||
if (record->event.pressed) {
|
||||
|
||||
tap_code16_nomods(keycode);
|
||||
|
||||
int number = (rand() % (8 + 1 - 2)) + 2;
|
||||
|
@ -285,13 +284,11 @@ bool process_record_unicode(uint16_t keycode, keyrecord_t *record) {
|
|||
} else if (typing_mode == KC_ZALGO) {
|
||||
return process_record_zalgo(keycode, record);
|
||||
}
|
||||
return process_unicode_common(keycode, record);
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Initialize the default unicode mode on firmware startu
|
||||
*
|
||||
*/
|
||||
void matrix_init_unicode(void) {
|
||||
unicode_input_mode_init();
|
||||
}
|
||||
void matrix_init_unicode(void) { unicode_input_mode_init(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue