feat(nds): improve key input system

This commit is contained in:
2026-02-10 16:28:54 +01:00
parent a586c149d8
commit 14b9ee6119
16 changed files with 59 additions and 102 deletions

View File

@@ -40,7 +40,7 @@ onMounted(() => {
onUnmounted(() => timeline?.kill());
useKeyDown((key) => {
useKeyDown(({ key }) => {
if (!store.showConfirmationPopup) return;
if (textProgress.value < 1 && key === "NDS_A") {
@@ -73,7 +73,7 @@ useKeyDown((key) => {
}
});
useKeyUp((key) => {
useKeyUp(({ key }) => {
if (store.showConfirmationPopup && key === "NDS_A") {
waitingForNdsARelease = false;
}