From 97248cf3996bdaa0648f3da789ee2ea7336d815c Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Thu, 16 Sep 2021 13:42:52 -0500 Subject: [PATCH] vcs: listen for kbd on emulator div --- doc/notes.txt | 1 + src/platform/vcs.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/notes.txt b/doc/notes.txt index b3a98cbf..af1aa891 100644 --- a/doc/notes.txt +++ b/doc/notes.txt @@ -166,6 +166,7 @@ TODO: - renaming main file doesn't change repo def. - can't edit or push files until successful compile - changing platform of repo makes one platform redirect to another platform + - should be able to change vcs -> vcs.mame for exmaple - keyboard shortcuts - ctrl+alt+l on ubuntu locks screen - alt-D doesn't work anymore diff --git a/src/platform/vcs.ts b/src/platform/vcs.ts index d6dc2a6c..f2fc2207 100644 --- a/src/platform/vcs.ts +++ b/src/platform/vcs.ts @@ -487,7 +487,8 @@ class VCSStellaPlatform implements Platform { scalingMode: this.Stellerator.ScalingMode.qis, tvEmulation: this.Stellerator.TvEmulation.composite, phosphorLevel: 0.5, - scanlineLevel: 0.2 + scanlineLevel: 0.2, + keyboardTarget: this.mainElement } ); }