Motion kit command

shortcut.reset

Reset Keyboard Shortcuts

Resets one `command`'s shortcut to its default, or the whole active preset when no command is given.

Kit
Motion 0.1.0 (.kmotion)
Changes the document
no

Parameters

Parameters of shortcut.reset
NameTypeRequiredDescription
commandstringno
paramsanyno

Call through motion_run

text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "shortcut.reset" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: command, params. motion_run answers the step’s result in completed[i].result.

Result

Result of shortcut.reset
NameTypeRequiredDescription
presetstringno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "preset": {
      "type": "string"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "command": {
      "type": "string"
    },
    "params": {}
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (motion_commands through @kition/[email protected], built from KitionAI/kition-motion@4719aa7). As data: commands.jsonl.