Added support to write modifiers to footswitch.

Reading modifiers is not yet supported. This will be supported in the
next commit.
This commit is contained in:
2018-08-01 01:00:21 +02:00
parent 3122491557
commit e6a23707b3
3 changed files with 28 additions and 2 deletions

View File

@@ -138,8 +138,11 @@ fn main() {
"append_str" => {
pedals.set_string(ped_list[i] as usize, val_list[i].as_str());
}
"append_mod" => {
pedals.set_modifier(ped_list[i] as usize, val_list[i].as_str());
}
_ => {
error!("Unkonwn command!");
error!("Unknown command!");
}
}
}