]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
Allow CW_KEYER from a switch (GPIO or I2C)
authorc vw <dl1ycf@darc.de>
Thu, 4 Nov 2021 09:11:08 +0000 (10:11 +0100)
committerc vw <dl1ycf@darc.de>
Thu, 4 Nov 2021 09:11:08 +0000 (10:11 +0100)
actions.c

index 4bb665dcedae9543d6d6c76d7e798ccd5548a503..fa43a1d8955a1212a6a1bf89d5752d63e95113ff 100644 (file)
--- a/actions.c
+++ b/actions.c
@@ -78,7 +78,7 @@ ACTION_TABLE ActionTable[] = {
   {COMPRESSION,                "COMPRESSION",          NULL,           MIDI_KNOB | MIDI_WHEEL | CONTROLLER_ENCODER},
   {CTUN,               "CTUN",                 "CTUN",         MIDI_KEY | CONTROLLER_SWITCH},
   {CW_FREQUENCY,       "CW FREQUENCY",         NULL,           MIDI_KNOB | MIDI_WHEEL | CONTROLLER_ENCODER},
-  {CW_KEYER,            "CW(keyer)",            NULL,           MIDI_KEY},
+  {CW_KEYER,            "CW(keyer)",            NULL,           MIDI_KEY | CONTROLLER_SWITCH},
   {CW_LEFT,            "CW LEFT",              "CWL",          MIDI_KEY | CONTROLLER_SWITCH},
   {CW_RIGHT,           "CW RIGHT",             "CWR",          MIDI_KEY | CONTROLLER_SWITCH},
   {CW_SPEED,           "CW SPEED",             NULL,           MIDI_KNOB | MIDI_WHEEL | CONTROLLER_ENCODER},