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