From aa4957bd0e2b0a75280f0e0c2232ec8bbb34504e Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Thu, 21 May 2020 20:38:44 -0600 Subject: [PATCH] Wikipedia says left-handed paddles switch dit and dah --- static/index.html | 4 ++-- static/vail.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/static/index.html b/static/index.html index b40559d..11692db 100644 --- a/static/index.html +++ b/static/index.html @@ -121,14 +121,14 @@ . - z + x keyboard / - x + z diff --git a/static/vail.js b/static/vail.js index 9c3f925..8df003e 100644 --- a/static/vail.js +++ b/static/vail.js @@ -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) }