From 1c1ebf20a26ead42d0b6b721c9610e1e061fb411 Mon Sep 17 00:00:00 2001 From: Aleksandr Prokudin Date: Thu, 31 Jul 2025 13:51:44 +0200 Subject: [PATCH] Update HID API for the new delay param in /hid/print (#1568) --- docs/api.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api.md b/docs/api.md index 3b086c1d..2805c04d 100644 --- a/docs/api.md +++ b/docs/api.md @@ -464,6 +464,7 @@ $ curl -k -u admin:admin https:///api/hid/keymaps | `limit` | integer | optional | Maximum characters to process | 0 = no limit. No maximum value. Default: 1024 | | `keymap` | string | optional | Keymap to use (defaults to system default) | Any keymap listed in the output of `GET /hid/keymaps` | | `slow` | boolean | optional | Enables slow typing mode (regular large intervals between key presses), `false` by default | Enable: `1`, `true`, or `yes`. Disable: `0`, `false`, or `no` | +| `delay` | float | optional | How many seconds to delay the transmission of keys by in the `slow` mode. Defaults to `0.02` when `slow` is enabled, otherwise defaults to `0` | `0..5.0` | **Example of use**: