Fixing json issues

This commit is contained in:
samcake 2015-10-09 17:37:51 -07:00
parent 502cb90e02
commit 297c3c9ed0

View file

@ -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",