From 0ef87404028a8b8383c601d5fb410c5129091bdc Mon Sep 17 00:00:00 2001 From: Henrik Widlund <4659350+henrikwidlund@users.noreply.github.com> Date: Sat, 6 Sep 2025 13:20:44 +0200 Subject: [PATCH 1/2] Add stop, record and menu for remote entity buttons --- ucapi/ui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ucapi/ui.py b/ucapi/ui.py index dc84928..a1ea8ff 100644 --- a/ucapi/ui.py +++ b/ucapi/ui.py @@ -41,7 +41,9 @@ class Buttons(str, Enum): PLAY = "PLAY" NEXT = "NEXT" POWER = "POWER" - + STOP = "STOP" + RECORD = "RECORD" + MENU = "MENU" @dataclass class DeviceButtonMapping: From b626dc57b220c98d57e484356e12a87c680d0b1c Mon Sep 17 00:00:00 2001 From: Henrik Widlund <4659350+henrikwidlund@users.noreply.github.com> Date: Mon, 8 Sep 2025 08:20:03 +0200 Subject: [PATCH 2/2] Hello linter my old friend --- ucapi/ui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ucapi/ui.py b/ucapi/ui.py index a1ea8ff..3d442ea 100644 --- a/ucapi/ui.py +++ b/ucapi/ui.py @@ -45,6 +45,7 @@ class Buttons(str, Enum): RECORD = "RECORD" MENU = "MENU" + @dataclass class DeviceButtonMapping: """Physical button command mapping."""