Skip to content

v2 precise websocket api response

cyperdark edited this page Aug 22, 2024 · 2 revisions
{
  "currentTime": 4238,
  "keys": {
    "k1": {
      "isPressed": false,
      "count": 0
    },
    "k2": {
      "isPressed": false,
      "count": 0
    },
    "m1": {
      "isPressed": false,
      "count": 0
    },
    "m2": {
      "isPressed": false,
      "count": 0
    }
  },
  "hitErrors": [0, 10, 20],
  "tourney": [
    {
      "ipcId": 1,
      "keys": {
        "k1": {
          "isPressed": false,
          "count": 100
        },
        "k2": {
          "isPressed": false,
          "count": 100
        },
        "m1": {
          "isPressed": false,
          "count": 100
        },
        "m2": {
          "isPressed": false,
          "count": 100
        }
      },
      "hitErrors": [0, 10, 20]
    }
  ]
}