fix: missing button interactions

This commit is contained in:
2025-12-18 16:38:05 +01:00
parent 5c95274c2b
commit fa66b50fc7
2 changed files with 9 additions and 0 deletions

View File

@@ -70,6 +70,14 @@ useScreenClick((x, y) => {
actionateButton(selectedButton.value);
}
});
useKeyDown((key) => {
switch (key) {
case "NDS_B":
store.animateOutro();
break;
}
});
</script>
<template>

View File

@@ -113,6 +113,7 @@ export const useButtonNavigation = <T extends Record<string, ButtonConfig>>({
}
break;
case "NDS_START":
case "NDS_A":
onButtonClick?.(selectedButton.value);
break;