minor changes to Reviung41

This commit is contained in:
2023-07-10 09:29:04 -03:00
parent 6f8605a583
commit 4735cdf049
+7 -2
View File
@@ -52,6 +52,9 @@ enum custom_keycodes {
bool process_record_user(uint16_t keycode, keyrecord_t *record) { bool process_record_user(uint16_t keycode, keyrecord_t *record) {
set_single_persistent_default_layer(1);
if (!process_get_jiggy_with_it(keycode, record, JIGGY)) { return false; } if (!process_get_jiggy_with_it(keycode, record, JIGGY)) { return false; }
switch (keycode) { switch (keycode) {
@@ -81,6 +84,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true; return true;
}; };
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_reviung41( //QWERTY [0] = LAYOUT_reviung41( //QWERTY
@@ -137,10 +142,10 @@ bool oled_task_user(void) {
switch (get_highest_layer(layer_state)) { switch (get_highest_layer(layer_state)) {
case 0: case 0:
oled_write_ln_P(PSTR("Whatner hell?!"), false); oled_write_ln_P(PSTR("Don't Panic! "), false);
break; break;
case 1: case 1:
oled_write_ln_P(PSTR("Don't Panic! "), false); oled_write_ln_P(PSTR("Whatner hell?!"), false);
break; break;
case 3: case 3:
oled_write_ln_P(PSTR("-=[]\\ "), false); oled_write_ln_P(PSTR("-=[]\\ "), false);