History

exposed input key bindings to js to enable key remapping

Sam Gondelman committed 11 years ago

Commit 984d4491 parent a12fd5c8 files · +289 −16Browse files

Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 8 files). Show all

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+1−0
@@ -317,6 +317,7 @@ void ScriptEngine::init() { · 316 unmodified lines
317317 registerAnimationTypes(this);
318318 registerAvatarTypes(this);
319319 registerAudioMetaTypes(this);
320+ _controllerScriptingInterface->registerControllerTypes(this);
320321
321322 qScriptRegisterMetaType(this, EntityItemPropertiesToScriptValue, EntityItemPropertiesFromScriptValueHonorReadOnly);
322323 qScriptRegisterMetaType(this, EntityItemIDtoScriptValue, EntityItemIDfromScriptValue);