Key.N
Get information if a button has been pressed, double-clicks cannot be detected.
Syntax: see Call Structure
{ "method": "cbrx_connection_get", "params": [ connection-handle, "Key.N" ] } |
connection-handle is the Connection Handles as an integer.
Returns:
{ "result": button } |
button | Description |
---|---|
0 | button n has not been pressed since the last time this entry was read |
1 | button n has been pressed since the last time this entry was read |
Example
Copy
{
"jsonrpc": "2.0",
"id": 0,
"result": 0
}