Key Up
Release keyboard key.
Interface Description
Interface Type
keyUpParameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
deviceId | string | ✅ | - | Device ID |
key | string | ✅ | - | Key name |
key Parameter Values
Same as keyDown, supports all standard keyboard keys.
Return Value
javascript
true // Returns true on successful operationBasic Usage
javascript
// Release Enter key
await apiInvoke('keyUp', {
deviceId: 'P72578581E07',
key: 'ENTER'
});
// Note: Must call keyDown first