cURL
curl --request POST \ --url http://localhost:4242/{computer_name}/api/keyboard/hold \ --header 'Content-Type: application/json' \ --data ' { "display_num": 1, "key": "enter" } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Holds down a keyboard key without releasing it.
Documentation IndexFetch the complete documentation index at: https://docs.cuse.dev/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.cuse.dev/llms.txt
Use this file to discover all available pages before exploring further.
Key to hold down
Key to press (e.g., 'a', 'enter', 'shift', 'ctrl', 'alt', etc.)
"enter"
Display number to target
1
Successfully started holding the key