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>
|
||||||
<td>
|
<td>
|
||||||
<kbd>.</kbd>
|
<kbd>.</kbd>
|
||||||
<kbd>z</kbd>
|
<kbd>x</kbd>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<i class="material-icons" role="presentation">keyboard</i>
|
<i class="material-icons" role="presentation">keyboard</i>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<kbd>/</kbd>
|
<kbd>/</kbd>
|
||||||
<kbd>x</kbd>
|
<kbd>z</kbd>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -504,11 +504,11 @@ class Vail {
|
||||||
|
|
||||||
let begin = event.type.endsWith("down")
|
let begin = event.type.endsWith("down")
|
||||||
|
|
||||||
if ((event.code == "KeyZ") || (event.code == "Period")) {
|
if ((event.code == "KeyX") || (event.code == "Period")) {
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
this.iambicDit(begin)
|
this.iambicDit(begin)
|
||||||
}
|
}
|
||||||
if ((event.code == "KeyX") || (event.code == "Slash")) {
|
if ((event.code == "KeyZ") || (event.code == "Slash")) {
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
this.iambicDah(begin)
|
this.iambicDah(begin)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue