39 static string nasal =
"nasal";
40 for (
unsigned int i = 0;
i < bindings.size();
i++) {
41 std::string cmd = bindings[
i]->getStringValue(
"command");
42 if (
nasal.compare(cmd) == 0 && !module.empty())
43 bindings[
i]->setStringValue(
"module", module.c_str());
44 binding_list[modifiers].push_back(
new SGBinding(bindings[
i],
globals->get_props()));
48 if (node->getChild(
"mod-up") != 0)
52 if (node->getChild(
"mod-shift") != 0)
56 if (node->getChild(
"mod-ctrl") != 0)
60 if (node->getChild(
"mod-alt") != 0)
64 if (node->getChild(
"mod-meta") != 0)
68 if (node->getChild(
"mod-super") != 0)
72 if (node->getChild(
"mod-hyper") != 0)