v1

latestOpenAPI 3.0.02026-07-17331930.1 KB

Simulates a short press using a key code.

Simulates a short press using a key code.

get/uiDevice/pressKeyCode

Query parameters

keyCodeinteger required

the key code of the event.

metaStateinteger

an integer in which each bit set to 1 represents a pressed meta key

Response

OK

status'OK' | 'ERROR' | 'UNKNOWKN' required
statusCodeinteger
errorMessagestring

Example response

{
  "status": "ERROR",
  "statusCode": 100,
  "errorMessage": "Operation could not be completed"
}