diff --git a/src/helpers/help.cpp b/src/helpers/help.cpp index 3492552..12f5569 100644 --- a/src/helpers/help.cpp +++ b/src/helpers/help.cpp @@ -33,6 +33,8 @@ namespace help { cout<<endl; cout<<" -fx ...\t\t\t\tUse --help-effects for more detail"<<endl; cout<<endl; + cout<<" -cfx ...\t\t\t\tUse --help-custom-effects for more detail"<<endl; + cout<<endl; cout<<" < {profile}\t\t\t\tSet a profile from a file (use --help-samples for more detail)"<<endl; cout<<" |\t\t\t\t\tSet a profile from stdin (for scripting) (use --help-samples for more detail)"<<endl; cout<<endl; @@ -248,4 +250,17 @@ namespace help { cout<<"echo -e \"k w ff0000\\nk a ff0000\\nk s ff0000\\nk d ff0000\\nc\" | g810-led -pp # Set multiple keys"<<endl; } + void custom_effects(char *arg0) + { + string cmdName = utils::getCmdName(arg0); + cout<<cmdName<<" Custom Effects"<<endl; + cout<<"----------------"<<endl; + cout<<endl; + cout<<" -cfx {effect1} [{effect2} ...]"<<endl; + cout<<endl; + cout<<" One effect can be used, or multiple."<<endl; + cout<<" Valid custom effects: test1, test2"<<endl; + cout<<endl; + } + } diff --git a/src/helpers/help.h b/src/helpers/help.h index 5c88a47..703e3c9 100644 --- a/src/helpers/help.h +++ b/src/helpers/help.h @@ -9,6 +9,7 @@ namespace help { void keys(char *arg0); void effects(char *arg0); void samples(char *arg0); + void custom_effects(char *arg0); } diff --git a/src/main.cpp b/src/main.cpp index 355ba09..ff9b8cd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -225,6 +225,7 @@ int main(int argc, char **argv) { else if (arg == "--help-keys") help::keys(argv[0]); else if (arg == "--help-effects") help::effects(argv[0]); else if (arg == "--help-samples") help::samples(argv[0]); + else if (arg == "--help-custom-effects") help::custom_effects(argv[0]); else { LedKeyboard kbd;