mirror of https://github.com/nealey/vail.git
Wikipedia says left-handed paddles switch dit and dah
This commit is contained in:
parent
fcf25c83d4
commit
aa4957bd0e
|
@ -121,14 +121,14 @@
|
|||
</td>
|
||||
<td>
|
||||
<kbd>.</kbd>
|
||||
<kbd>z</kbd>
|
||||
<kbd>x</kbd>
|
||||
</td>
|
||||
<td>
|
||||
<i class="material-icons" role="presentation">keyboard</i>
|
||||
</td>
|
||||
<td>
|
||||
<kbd>/</kbd>
|
||||
<kbd>x</kbd>
|
||||
<kbd>z</kbd>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -504,11 +504,11 @@ class Vail {
|
|||
|
||||
let begin = event.type.endsWith("down")
|
||||
|
||||
if ((event.code == "KeyZ") || (event.code == "Period")) {
|
||||
if ((event.code == "KeyX") || (event.code == "Period")) {
|
||||
event.preventDefault()
|
||||
this.iambicDit(begin)
|
||||
}
|
||||
if ((event.code == "KeyX") || (event.code == "Slash")) {
|
||||
if ((event.code == "KeyZ") || (event.code == "Slash")) {
|
||||
event.preventDefault()
|
||||
this.iambicDah(begin)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue