diff --git a/src/main.cpp b/src/main.cpp index a157912..bd3dcae 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -181,11 +181,11 @@ int parseProfile(LedKeyboard &kbd, std::istream &stream) { if (utils::parseColor(args[2], color)) keys.push_back({ key, color }); } else if (args[0] == "mr" && args.size() > 1) { - if (setMRKey(kbd, args[1], false) == 1) retval = 1; + if (setMRKey(kbd, args[1]) == 1) retval = 1; } else if (args[0] == "mn" && args.size() > 1) { - if (setMNKey(kbd, args[1], false) == 1) retval = 1; + if (setMNKey(kbd, args[1]) == 1) retval = 1; } else if (args[0] == "gkm" && args.size() > 1) { - if (setGKeysMode(kbd, args[1], false) == 1) retval = 1; + if (setGKeysMode(kbd, args[1]) == 1) retval = 1; } else if (args[0] == "fx" && args.size() > 4) { if (setFX(kbd, args[1], args[2], args[3], args[4]) == 1) retval = 1; } else if (args[0] == "fx" && args.size() > 3) {