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
|
#! /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") ||
|
if ((event.code == "KeyX") ||
|
||||||
(event.code == "Period") ||
|
(event.code == "Period") ||
|
||||||
(event.code == "BracketLeft") ||
|
(event.code == "BracketLeft") ||
|
||||||
|
(event.code == "ControlLeft") ||
|
||||||
(event.key == "[")) {
|
(event.key == "[")) {
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
this.keyer.Dit(down)
|
this.keyer.Dit(down)
|
||||||
|
@ -61,6 +62,7 @@ export class Keyboard {
|
||||||
if ((event.code == "KeyZ") ||
|
if ((event.code == "KeyZ") ||
|
||||||
(event.code == "Slash") ||
|
(event.code == "Slash") ||
|
||||||
(event.code == "BracketRight") ||
|
(event.code == "BracketRight") ||
|
||||||
|
(event.code == "ControlRight") ||
|
||||||
(event.key == "]")) {
|
(event.key == "]")) {
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
this.keyer.Dah(down)
|
this.keyer.Dah(down)
|
||||||
|
@ -198,4 +200,4 @@ export function SetupAll(keyer) {
|
||||||
MIDI: new MIDI(keyer),
|
MIDI: new MIDI(keyer),
|
||||||
Gamepad: new Gamepad(keyer),
|
Gamepad: new Gamepad(keyer),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue