X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInput%2FFGKeyboardInput.cxx;h=94c485c6a184d0402eef6313f9e9834339947173;hb=2ba4f3ddad94c6045160663578b66bb573fd05ac;hp=f4d20d66cf530acd35eeda9d0c35c21a8f8f4923;hpb=a6db6d89ff41a619569e6433409e8bf62ff98499;p=flightgear.git diff --git a/src/Input/FGKeyboardInput.cxx b/src/Input/FGKeyboardInput.cxx index f4d20d66c..94c485c6a 100644 --- a/src/Input/FGKeyboardInput.cxx +++ b/src/Input/FGKeyboardInput.cxx @@ -27,6 +27,8 @@ #include #include +using simgear::PropertyList; + static int getModifiers () { return fgGetKeyModifiers() >> 1; @@ -94,13 +96,13 @@ void FGKeyboardInput::postinit() } FGNasalSys *nasalsys = (FGNasalSys *)globals->get_subsystem("nasal"); - vector nasal = key_nodes->getChildren("nasal"); + PropertyList nasal = key_nodes->getChildren("nasal"); for (unsigned int j = 0; j < nasal.size(); j++) { nasal[j]->setStringValue("module", module.c_str()); nasalsys->handleCommand(nasal[j]); } - vector keys = key_nodes->getChildren("key"); + PropertyList keys = key_nodes->getChildren("key"); for (unsigned int i = 0; i < keys.size(); i++) { int index = keys[i]->getIndex(); SG_LOG(SG_INPUT, SG_DEBUG, "Binding key " << index);