feat(nds): use custom NDS_ keys in events

This commit is contained in:
2025-12-15 11:53:20 +01:00
parent d15c03fe92
commit a65ba42f06
3 changed files with 40 additions and 52 deletions

View File

@@ -41,10 +41,10 @@ useScreenMouseWheel((dy) => {
useKeyDown((key) => {
switch (key) {
case "ArrowLeft":
case "NDS_LEFT":
store.scrollProjects("left");
break;
case "ArrowRight":
case "NDS_RIGHT":
store.scrollProjects("right");
break;
}