Implement keyboard typing sound feedback and refactor login sound handling

- Added a keyboard typing sound effect that plays on character input in App.vue for enhanced user interaction.
- Refactored the playSciFiTypingTick function in useLoginSounds.ts, replacing it with playKeyboardTypingSound for a more cohesive audio experience.
- Removed unnecessary keydown event handlers from Login.vue to streamline the code and improve clarity.
- Updated CLI store to play navigation sounds when toggling the CLI visibility.
This commit is contained in:
Dorian
2026-02-18 10:37:26 +00:00
parent c9f6e6b8ae
commit 578551f617
4 changed files with 27 additions and 47 deletions
+3 -1
View File
@@ -15,7 +15,9 @@ export const useCLIStore = defineStore('cli', () => {
}
function toggle() {
isOpen.value = !isOpen.value
const wasOpen = isOpen.value
isOpen.value = !wasOpen
if (!wasOpen) playNavSound('action')
}
return {