diff --git a/simulator/package.json b/simulator/package.json index f88ec2b..d61be13 100644 --- a/simulator/package.json +++ b/simulator/package.json @@ -4,7 +4,7 @@ "scripts": { "lint": "eslint src --fix", "dev": "parcel index.html", - "build": "parcel build index.html --no-optimize" + "build": "parcel build index.html --no-optimize --public-url ./" }, "dependencies": { "lit": "^2.2.0" diff --git a/simulator/src/ui/app.ts b/simulator/src/ui/app.ts index 9b6f4d6..864938c 100644 --- a/simulator/src/ui/app.ts +++ b/simulator/src/ui/app.ts @@ -214,6 +214,12 @@ export class App extends LitElement { case "Enter": mask |= constants.CONTROLS_SELECT; break; + case "KeyQ": + mask |= constants.CONTROLS_A; + break; + case "KeyE": + mask |= constants.CONTROLS_B; + break; case "ShiftLeft": case "ShiftRight": mask |= constants.CONTROLS_CLICK; break;