Skip to content

Instantly share code, notes, and snippets.

@newyellow
Created March 10, 2016 15:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save newyellow/4d5d0d9764f5b71eafc5 to your computer and use it in GitHub Desktop.
Save newyellow/4d5d0d9764f5b71eafc5 to your computer and use it in GitHub Desktop.
{
"id":"user1", // 使用者 ID
"data":{
"rightHand": { // 肢體節點名稱
"action":{
"vibrate":{
"duration": 1000, // Type - long for ms
"interval": 1000, // Type - long for ms
"times": 1000 // Type - int
},
"light":{
"duration": 1000, // Type - long for ms
"interval": 1000, // Type - long for ms
"times": 1, // Type - int
"red": true, // Type - boolean
"green": false, // Type - boolean
"blue": false // Type - boolean
},
"tone":{
"duration": 1000, // Type - long for ms
"interval": 1000, // Type - long for ms
"times": 1, // Type - int
"value":1 // Type - int for pitches mapping
}
}
},
"rightUpHand": {
"action":{
...
...
}
},
...
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment