Skip to content

Instantly share code, notes, and snippets.

@findchris
Forked from astein/recording.json
Last active August 29, 2015 13:56

Revisions

  1. findchris revised this gist Feb 26, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions recording.json
    Original file line number Diff line number Diff line change
    @@ -5,8 +5,8 @@
    "time_offset": 0,
    "movements": [[x1, y1], [x2,y2], ..., [null, null], [x99, y99], ...],
    "actions": [
    {"time_offset": 4032, "input_type": 'keyboard', "value": 'spacebar'},
    {"time_offset": 8944, "input_type": 'mouse', "value": [123, 321]}
    {"time_offset": 4032, "input_type": "keyboard", "value": "spacebar"},
    {"time_offset": 8944, "input_type": "mouse", "value": [123, 321]}
    ],
    "distance": 3245
    },
  2. findchris revised this gist Feb 26, 2014. 1 changed file with 14 additions and 14 deletions.
    28 changes: 14 additions & 14 deletions recording.json
    Original file line number Diff line number Diff line change
    @@ -1,23 +1,23 @@
    [
    {
    step: 1,
    repeat_index: 0,
    time_offset: 0,
    movements: [[x1, y1], [x2,y2], ..., [null, null], [x99, y99], ...],
    actions: [
    {time_offset: 4032, input_type: 'keyboard', value: 'spacebar'},
    {time_offset: 8944, input_type: 'mouse', value: [123, 321]}
    "step": 1,
    "repeat_index": 0,
    "time_offset": 0,
    "movements": [[x1, y1], [x2,y2], ..., [null, null], [x99, y99], ...],
    "actions": [
    {"time_offset": 4032, "input_type": 'keyboard', "value": 'spacebar'},
    {"time_offset": 8944, "input_type": 'mouse', "value": [123, 321]}
    ],
    distance: 3245
    "distance": 3245
    },
    {
    step: 2,
    repeat_index: 0,
    time_offset: 3910
    "step": 2,
    "repeat_index": 0,
    "time_offset": 3910
    },
    {
    step: 1,
    repeat_index: 1
    time_offset: 6380
    "step": 1,
    "repeat_index": 1
    "time_offset": 6380
    }
    ]
  3. findchris revised this gist Feb 26, 2014. 1 changed file with 4 additions and 8 deletions.
    12 changes: 4 additions & 8 deletions recording.json
    Original file line number Diff line number Diff line change
    @@ -6,22 +6,18 @@
    movements: [[x1, y1], [x2,y2], ..., [null, null], [x99, y99], ...],
    actions: [
    {time_offset: 4032, input_type: 'keyboard', value: 'spacebar'},
    {time_offset: 8944, input_type: 'mouse', value: [123, 321]},
    ...
    {time_offset: 8944, input_type: 'mouse', value: [123, 321]}
    ],
    distance: 3245
    },
    {
    step: 2,
    repeat_index: 0,
    time_offset: 3910,
    ...
    time_offset: 3910
    },
    {
    step: 1,
    repeat_index: 1
    time_offset: 6380,
    ...
    },
    ...
    time_offset: 6380
    }
    ]
  4. findchris revised this gist Feb 26, 2014. 1 changed file with 19 additions and 12 deletions.
    31 changes: 19 additions & 12 deletions recording.json
    Original file line number Diff line number Diff line change
    @@ -1,20 +1,27 @@
    [
    {
    "step": 1,
    "time_offset": 0,
    "movements": [[123, 31], [321,22], [null, null], [99, 99]],
    "actions": [
    {"time_offset": 4032, "input_type": "keyboard", "value": "spacebar"},
    {"time_offset": 8944, "input_type": "mouse", "value": [123,321]}
    step: 1,
    repeat_index: 0,
    time_offset: 0,
    movements: [[x1, y1], [x2,y2], ..., [null, null], [x99, y99], ...],
    actions: [
    {time_offset: 4032, input_type: 'keyboard', value: 'spacebar'},
    {time_offset: 8944, input_type: 'mouse', value: [123, 321]},
    ...
    ],
    "distance": 3245
    distance: 3245
    },
    {
    "step": 2,
    "time_offset": 3910
    step: 2,
    repeat_index: 0,
    time_offset: 3910,
    ...
    },
    {
    "step": 1,
    "time_offset": 6380
    }
    step: 1,
    repeat_index: 1
    time_offset: 6380,
    ...
    },
    ...
    ]
  5. Aaron Stein revised this gist Feb 26, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion recording.json
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@
    "movements": [[123, 31], [321,22], [null, null], [99, 99]],
    "actions": [
    {"time_offset": 4032, "input_type": "keyboard", "value": "spacebar"},
    {"time_offset": 8944, "input_type": "mouse", "value": "click"}
    {"time_offset": 8944, "input_type": "mouse", "value": [123,321]}
    ],
    "distance": 3245
    },
  6. Aaron Stein created this gist Feb 19, 2014.
    20 changes: 20 additions & 0 deletions recording.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    [
    {
    "step": 1,
    "time_offset": 0,
    "movements": [[123, 31], [321,22], [null, null], [99, 99]],
    "actions": [
    {"time_offset": 4032, "input_type": "keyboard", "value": "spacebar"},
    {"time_offset": 8944, "input_type": "mouse", "value": "click"}
    ],
    "distance": 3245
    },
    {
    "step": 2,
    "time_offset": 3910
    },
    {
    "step": 1,
    "time_offset": 6380
    }
    ]