Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url http://localhost:3917/input/bind \ --header 'Content-Type: application/json' \ --data ' { "action": "move_forward", "key": "W" } '
{ "ok": true, "message": "<string>" }
bind a key to an action
A key name and the action to bind it to in the ActionMap.
key
action
ActionMap
The body is of type any.
any
Binding added (or an error when key/action is missing).