From 6d4acd98a8a4f85a1b376adfe83b08bf96ab17d3 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Sun, 24 Apr 2022 10:46:23 -0600 Subject: [PATCH] Oops, remove old code causing double-key --- static/inputs.mjs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/static/inputs.mjs b/static/inputs.mjs index 779b116..fa96454 100644 --- a/static/inputs.mjs +++ b/static/inputs.mjs @@ -93,18 +93,6 @@ export class Keyboard extends Input{ this.straightDown = down } } - - if ((event.code == "ControlLeft")) { - // VBand and the VBand adapter take a different approach to inputs: - // There is a "left" key, and a "right" key, and the computer decides what those mean. - // Users expect "left" to be a straight key or dit, depending on some screen control. - // "right" is always dah. - if (this.iambic) { - this.keyer.Dit(down) - } else { - this.keyer.Straight(down) - } - } } }