mirror of https://github.com/nealey/vail.git
Support the right and left control keys for vband
This commit is contained in:
parent
0113cb89df
commit
7bbffa5006
|
@ -1,3 +1,3 @@
|
|||
#! /bin/sh
|
||||
|
||||
rsync -va static fozzie.woozle.org:/srv/vail/
|
||||
rsync -va static melville.woozle.org:/srv/vail/
|
||||
|
|
|
@ -54,6 +54,7 @@ export class Keyboard {
|
|||
if ((event.code == "KeyX") ||
|
||||
(event.code == "Period") ||
|
||||
(event.code == "BracketLeft") ||
|
||||
(event.code == "ControlLeft") ||
|
||||
(event.key == "[")) {
|
||||
event.preventDefault()
|
||||
this.keyer.Dit(down)
|
||||
|
@ -61,6 +62,7 @@ export class Keyboard {
|
|||
if ((event.code == "KeyZ") ||
|
||||
(event.code == "Slash") ||
|
||||
(event.code == "BracketRight") ||
|
||||
(event.code == "ControlRight") ||
|
||||
(event.key == "]")) {
|
||||
event.preventDefault()
|
||||
this.keyer.Dah(down)
|
||||
|
|
Loading…
Reference in New Issue