// from event.pressed) { #ifdef AUDIO_ENABLE stop_all_notes(); PLAY_SONG(plover_song); #endif layer_off(RAISE_LAYER); layer_off(LOWER_LAYER); layer_off(ADJUST_LAYER); layer_on(STENO_LAYER); if (!eeconfig_is_enabled()) { eeconfig_init(); } keymap_config.raw = eeconfig_read_keymap(); keymap_config.nkro = 1; eeconfig_update_keymap(keymap_config.raw); plover_resume(); } return false; case PV_EXIT: if (record->event.pressed) { #ifdef AUDIO_ENABLE PLAY_SONG(plover_gb_song); #endif plover_suspend(); layer_off(STENO_LAYER); } return false; case PV_LOOK: if (record->event.pressed) { plover_lookup(); } return false; case SEND_VERSION: if (record->event.pressed) { SEND_STRING(QMK_KEYBOARD "/" QMK_KEYMAP "@" QMK_VERSION " (" QMK_BUILDDATE ")"); } return false; case SEND_MAKE: if (record->event.pressed) { SEND_STRING("make " QMK_KEYBOARD ":" QMK_KEYMAP ":dfu\n"); } return false; } return true; }