mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 02:56:50 +02:00
Fixing json issues
This commit is contained in:
parent
502cb90e02
commit
297c3c9ed0
1 changed files with 4 additions and 4 deletions
|
@ -1,15 +1,15 @@
|
||||||
{
|
{
|
||||||
"name": "Full Mapping config including the standard hydra and gamepad and one more thing",
|
"name": "Full Mapping config including the standard hydra and gamepad and one more thing",
|
||||||
"mappings": [
|
"mappings": [
|
||||||
"src": "./mapping-hydra.json",
|
{ "src": "./mapping-hydra.json" },
|
||||||
"src": "./mapping-xbox.json",
|
{ "src": "./mapping-xbox.json" },
|
||||||
{
|
{
|
||||||
"name": "example mapping for standard to js function",
|
"name": "example mapping for standard to js function",
|
||||||
"channels": [ {
|
"channels": [ {
|
||||||
"from": "Standard.B",
|
"from": "Standard.B",
|
||||||
"to": {
|
"to": {
|
||||||
"type":"js",
|
"type":"js",
|
||||||
"function": "function(value){ print("Standard.B = " + value );}"
|
"function": "function(value){ print(\"Standard.B = \" + value );}"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"from": "Standard.B",
|
"from": "Standard.B",
|
||||||
|
|
Loading…
Reference in a new issue