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
317 registerAnimationTypes(this);317 registerAnimationTypes(this);
318 registerAvatarTypes(this);318 registerAvatarTypes(this);
319 registerAudioMetaTypes(this);319 registerAudioMetaTypes(this);
320 _controllerScriptingInterface->registerControllerTypes(this);
320 321
321 qScriptRegisterMetaType(this, EntityItemPropertiesToScriptValue, EntityItemPropertiesFromScriptValueHonorReadOnly);322 qScriptRegisterMetaType(this, EntityItemPropertiesToScriptValue, EntityItemPropertiesFromScriptValueHonorReadOnly);
322 qScriptRegisterMetaType(this, EntityItemIDtoScriptValue, EntityItemIDfromScriptValue);323 qScriptRegisterMetaType(this, EntityItemIDtoScriptValue, EntityItemIDfromScriptValue);