From 8ea893520cb0b807a417a990f2a1e985483d3708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20H=C3=B6rmann?= Date: Mon, 9 Aug 2021 13:18:22 +0200 Subject: [PATCH] allow addressing of multiple independent footswitch devices --- footswitch.c | 40 +++++++++++++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 9 deletions(-) diff --git a/footswitch.c b/footswitch.c index c78b2de..dfe468c 100644 --- a/footswitch.c +++ b/footswitch.c @@ -54,7 +54,8 @@ pedal_data *curr_pedal = &pd.pedals[1]; // start at the second pedal #define STRING_TYPE 4 void usage() { - fprintf(stderr, "Usage: footswitch [-123] [-r] [-s ] [-S ] [-ak ] [-m ] [-b