1
0
Fork 0

add <mod-meta> and <mod-super> XML elements for key bindings

This commit is contained in:
mfranz 2007-12-01 16:38:49 +00:00
parent 9fa86acc65
commit 5934acbef9

View file

@ -971,6 +971,14 @@ FGInput::_read_bindings (const SGPropertyNode * node,
if (node->getChild("mod-alt") != 0)
_read_bindings(node->getChild("mod-alt"), binding_list,
modifiers|KEYMOD_ALT);
if (node->getChild("mod-meta") != 0)
_read_bindings(node->getChild("mod-meta"), binding_list,
modifiers|KEYMOD_META);
if (node->getChild("mod-super") != 0)
_read_bindings(node->getChild("mod-super"), binding_list,
modifiers|KEYMOD_SUPER);
}