feat(nds): improve key input system
This commit is contained in:
@@ -110,7 +110,7 @@ onClick((x, y) => {
|
||||
}
|
||||
});
|
||||
|
||||
useKeyDown((key) => {
|
||||
useKeyDown(({ key }) => {
|
||||
if (props.yOffset !== 0) return;
|
||||
switch (key) {
|
||||
case "NDS_START":
|
||||
|
||||
Reference in New Issue
Block a user