From d62054fd0ed8344da73ed044adfe3ee25055e9a5 Mon Sep 17 00:00:00 2001 From: Joe Martin Date: Wed, 12 Jun 2024 22:00:44 -0400 Subject: [PATCH] feat: Add isActiveHdmiSource method --- src/openrpc/device.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/openrpc/device.json b/src/openrpc/device.json index 971c9564a..54e651b01 100644 --- a/src/openrpc/device.json +++ b/src/openrpc/device.json @@ -1316,6 +1316,36 @@ } ] }, + { + "name": "isActiveHdmiSource", + "summary": "Whether or not the device is currently the display's active HDMI source.", + "tags": [ + { + "name": "property:readonly" + }, + { + "name": "capabilities", + "x-uses": [ + "xrn:firebolt:capability:device:info" + ] + } + ], + "params": [], + "result": { + "name": "isActiveHdmiSource", + "type": "boolean" + }, + "examples": [ + { + "name": "Default Example", + "params": [], + "result": { + "name": "Default Result", + "value": true + } + } + ] + }, { "name": "isSourceFrameRateUsed", "summary": "Check whether the HDMI output frame rate is set to follow the video source frame rate.",