mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 01:13:11 +02:00
Conflicts: libraries/controllers/src/controllers/Route.cpp libraries/controllers/src/controllers/ScriptingInterface.cpp libraries/controllers/src/controllers/StandardController.cpp libraries/controllers/src/controllers/impl/RouteBuilderProxy.h
24 lines
816 B
JSON
24 lines
816 B
JSON
{
|
|
"name": "Full Mapping config including the standard hydra and gamepad and one more thing",
|
|
"mappings": [
|
|
{ "src": "./mapping-hydra.json" },
|
|
{ "src": "./mapping-xbox.json" },
|
|
{
|
|
"name": "example mapping for standard to js function",
|
|
"channels": [ {
|
|
"from": "Standard.B",
|
|
"to": {
|
|
"type":"js",
|
|
"function": "function(value){ print(\"Standard.B = \" + value );}"
|
|
}
|
|
}, {
|
|
"from": "Standard.B",
|
|
"to": {
|
|
"type":"js",
|
|
"src": "http://www.theNextBigThing.com/hifiInputSignalHandler.js"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|