Oops, remove old code causing double-key

This commit is contained in:
Neale Pickett 2022-04-24 10:46:23 -06:00
parent af1d5ddbc7
commit 6d4acd98a8
1 changed files with 0 additions and 12 deletions

View File

@ -93,18 +93,6 @@ export class Keyboard extends Input{
this.straightDown = down 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)
}
}
} }
} }