pikvm_set_calibration
Set mouse calibration factors to correct cursor positioning. Calculate ratio of expected to actual coordinates.
Instructions
Set mouse coordinate calibration factors. Calculate factors as: factorX = expected_x / actual_x, factorY = expected_y / actual_y. For example, if calibration moved cursor to expected (960, 540) but it landed at (720, 405), factors would be 960/720=1.33 and 540/405=1.33.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"factorX": "<factorX>",
"factorY": "<factorY>"
},
"name": "pikvm_set_calibration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| factorX | Yes | X-axis calibration factor (typically 1.0-1.5) | |
| factorY | Yes | Y-axis calibration factor (typically 1.0-1.5) |