add <mod-meta> and <mod-super> XML elements for key bindings
This commit is contained in:
parent
9fa86acc65
commit
5934acbef9
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue