From d12edc45d549f274bd337e245c831e2970fc94f9 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Mon, 20 Nov 2023 11:06:45 -0500 Subject: [PATCH] Rename CecKeyCode to CecKeyCodeEnum to match spec (#30497) * Rename CecKeyCode to CecKeyCodeEnum to match spec * Fix PR number * Ran zap_convert_all.py * Restyle * Minor change to kick CI * Fix for compilation * Restyle * Mass rename CecKeyCodeEnum to CECKeyCodeEnum * Zap regen * Update Darwin availability annotations. --------- Co-authored-by: Andrei Litvin Co-authored-by: Boris Zbarsky --- data_model/clusters/KeypadInput.xml | 4 +- .../all-clusters-minimal-app.matter | 4 +- ...ootnode_basicvideoplayer_0ff86e943b.matter | 4 +- .../placeholder/linux/apps/app1/config.matter | 6 +- .../placeholder/linux/apps/app2/config.matter | 6 +- .../android/java/KeypadInputManager.cpp | 2 +- .../tv-app/android/java/KeypadInputManager.h | 2 +- .../keypad-input/KeypadInputManager.h | 2 +- examples/tv-app/tv-common/tv-app.matter | 4 +- .../app/src/main/jni/cpp/TvCastingApp-JNI.cpp | 2 +- .../CastingServerBridge.mm | 2 +- .../tv-casting-common/include/CastingServer.h | 2 +- .../tv-casting-common/include/KeypadInput.h | 3 +- .../tv-casting-common/src/CastingServer.cpp | 2 +- .../tv-casting-common/src/KeypadInput.cpp | 2 +- .../tv-casting-common/tv-casting-app.matter | 4 +- .../inputs/large_all_clusters_app.matter | 4 +- src/app/CompatEnumNames.h | 3 +- .../keypad-input-delegate.h | 2 +- .../data-model/chip/keypad-input-cluster.xml | 4 +- .../data_model/controller-clusters.matter | 4 +- .../python/chip/clusters/Objects.py | 6 +- .../CHIP/templates/availability.yaml | 94 ++++ .../CHIP/zap-generated/MTRBaseClusters.h | 436 ++++++++++++++---- .../zap-generated/cluster-enums-check.h | 4 +- .../app-common/zap-generated/cluster-enums.h | 4 +- .../zap-generated/cluster-objects.h | 4 +- 27 files changed, 487 insertions(+), 129 deletions(-) diff --git a/data_model/clusters/KeypadInput.xml b/data_model/clusters/KeypadInput.xml index 7179ae676b65fe..30936891c6c71d 100644 --- a/data_model/clusters/KeypadInput.xml +++ b/data_model/clusters/KeypadInput.xml @@ -72,7 +72,7 @@ Davis, CA 95616, USA - + @@ -348,7 +348,7 @@ Davis, CA 95616, USA - + diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter index cbb1b7efd20700..9d88b46dc0b097 100644 --- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter +++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter @@ -3366,7 +3366,7 @@ server cluster LowPower = 1288 { /** This cluster provides an interface for controlling a device like a TV using action commands such as UP, DOWN, and SELECT. */ server cluster KeypadInput = 1289 { - enum CecKeyCode : enum8 { + enum CECKeyCodeEnum : enum8 { kSelect = 0; kUp = 1; kDown = 2; @@ -3475,7 +3475,7 @@ server cluster KeypadInput = 1289 { readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { - CecKeyCode keyCode = 0; + CECKeyCodeEnum keyCode = 0; } response struct SendKeyResponse = 1 { diff --git a/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter b/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter index cd96025bb67eb3..af80df7a588a38 100644 --- a/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter +++ b/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter @@ -1313,7 +1313,7 @@ server cluster LowPower = 1288 { /** This cluster provides an interface for controlling a device like a TV using action commands such as UP, DOWN, and SELECT. */ server cluster KeypadInput = 1289 { - enum CecKeyCode : enum8 { + enum CECKeyCodeEnum : enum8 { kSelect = 0; kUp = 1; kDown = 2; @@ -1422,7 +1422,7 @@ server cluster KeypadInput = 1289 { readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { - CecKeyCode keyCode = 0; + CECKeyCodeEnum keyCode = 0; } response struct SendKeyResponse = 1 { diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter index 3475e909bbd04c..14be472f374cae 100644 --- a/examples/placeholder/linux/apps/app1/config.matter +++ b/examples/placeholder/linux/apps/app1/config.matter @@ -5829,7 +5829,7 @@ client cluster LowPower = 1288 { /** This cluster provides an interface for controlling a device like a TV using action commands such as UP, DOWN, and SELECT. */ client cluster KeypadInput = 1289 { - enum CecKeyCode : enum8 { + enum CECKeyCodeEnum : enum8 { kSelect = 0; kUp = 1; kDown = 2; @@ -5938,7 +5938,7 @@ client cluster KeypadInput = 1289 { readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { - CecKeyCode keyCode = 0; + CECKeyCodeEnum keyCode = 0; } response struct SendKeyResponse = 1 { @@ -5951,7 +5951,7 @@ client cluster KeypadInput = 1289 { /** This cluster provides an interface for controlling a device like a TV using action commands such as UP, DOWN, and SELECT. */ server cluster KeypadInput = 1289 { - enum CecKeyCode : enum8 { + enum CECKeyCodeEnum : enum8 { kSelect = 0; kUp = 1; kDown = 2; diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter index 9ecc3de607745d..12c47d5ad6f951 100644 --- a/examples/placeholder/linux/apps/app2/config.matter +++ b/examples/placeholder/linux/apps/app2/config.matter @@ -5788,7 +5788,7 @@ client cluster LowPower = 1288 { /** This cluster provides an interface for controlling a device like a TV using action commands such as UP, DOWN, and SELECT. */ client cluster KeypadInput = 1289 { - enum CecKeyCode : enum8 { + enum CECKeyCodeEnum : enum8 { kSelect = 0; kUp = 1; kDown = 2; @@ -5897,7 +5897,7 @@ client cluster KeypadInput = 1289 { readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { - CecKeyCode keyCode = 0; + CECKeyCodeEnum keyCode = 0; } response struct SendKeyResponse = 1 { @@ -5910,7 +5910,7 @@ client cluster KeypadInput = 1289 { /** This cluster provides an interface for controlling a device like a TV using action commands such as UP, DOWN, and SELECT. */ server cluster KeypadInput = 1289 { - enum CecKeyCode : enum8 { + enum CECKeyCodeEnum : enum8 { kSelect = 0; kUp = 1; kDown = 2; diff --git a/examples/tv-app/android/java/KeypadInputManager.cpp b/examples/tv-app/android/java/KeypadInputManager.cpp index a25a3bdbbc7975..5267f1ec70c9db 100644 --- a/examples/tv-app/android/java/KeypadInputManager.cpp +++ b/examples/tv-app/android/java/KeypadInputManager.cpp @@ -41,7 +41,7 @@ void KeypadInputManager::NewManager(jint endpoint, jobject manager) chip::app::Clusters::KeypadInput::SetDefaultDelegate(static_cast(endpoint), mgr); } -void KeypadInputManager::HandleSendKey(CommandResponseHelper & helper, const CecKeyCode & keyCode) +void KeypadInputManager::HandleSendKey(CommandResponseHelper & helper, const CECKeyCodeEnum & keyCode) { Commands::SendKeyResponse::Type response; diff --git a/examples/tv-app/android/java/KeypadInputManager.h b/examples/tv-app/android/java/KeypadInputManager.h index 8c43cc043d67ec..77d58a8255830b 100644 --- a/examples/tv-app/android/java/KeypadInputManager.h +++ b/examples/tv-app/android/java/KeypadInputManager.h @@ -32,7 +32,7 @@ class KeypadInputManager : public KeypadInputDelegate void InitializeWithObjects(jobject managerObject); void HandleSendKey(CommandResponseHelper & helper, - const chip::app::Clusters::KeypadInput::CecKeyCode & keyCode) override; + const chip::app::Clusters::KeypadInput::CECKeyCodeEnum & keyCode) override; uint32_t GetFeatureMap(chip::EndpointId endpoint) override; diff --git a/examples/tv-app/tv-common/clusters/keypad-input/KeypadInputManager.h b/examples/tv-app/tv-common/clusters/keypad-input/KeypadInputManager.h index 79a83b3e65017f..66d43ed7ec8c6f 100644 --- a/examples/tv-app/tv-common/clusters/keypad-input/KeypadInputManager.h +++ b/examples/tv-app/tv-common/clusters/keypad-input/KeypadInputManager.h @@ -23,7 +23,7 @@ using chip::app::CommandResponseHelper; using KeypadInputDelegate = chip::app::Clusters::KeypadInput::Delegate; using SendKeyResponseType = chip::app::Clusters::KeypadInput::Commands::SendKeyResponse::Type; -using CecKeyCodeType = chip::app::Clusters::KeypadInput::CecKeyCode; +using CecKeyCodeType = chip::app::Clusters::KeypadInput::CECKeyCodeEnum; class KeypadInputManager : public KeypadInputDelegate { diff --git a/examples/tv-app/tv-common/tv-app.matter b/examples/tv-app/tv-common/tv-app.matter index ecee6e792e42bb..6fdb3513292735 100644 --- a/examples/tv-app/tv-common/tv-app.matter +++ b/examples/tv-app/tv-common/tv-app.matter @@ -2107,7 +2107,7 @@ server cluster LowPower = 1288 { /** This cluster provides an interface for controlling a device like a TV using action commands such as UP, DOWN, and SELECT. */ server cluster KeypadInput = 1289 { - enum CecKeyCode : enum8 { + enum CECKeyCodeEnum : enum8 { kSelect = 0; kUp = 1; kDown = 2; @@ -2216,7 +2216,7 @@ server cluster KeypadInput = 1289 { readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { - CecKeyCode keyCode = 0; + CECKeyCodeEnum keyCode = 0; } response struct SendKeyResponse = 1 { diff --git a/examples/tv-casting-app/android/App/app/src/main/jni/cpp/TvCastingApp-JNI.cpp b/examples/tv-casting-app/android/App/app/src/main/jni/cpp/TvCastingApp-JNI.cpp index 08b6fc194eee3d..b4d9b37a422028 100644 --- a/examples/tv-casting-app/android/App/app/src/main/jni/cpp/TvCastingApp-JNI.cpp +++ b/examples/tv-casting-app/android/App/app/src/main/jni/cpp/TvCastingApp-JNI.cpp @@ -1663,7 +1663,7 @@ JNI_METHOD(jboolean, keypadInput_1sendKey) ChipLogError(AppServer, "MatterCallbackHandlerJNI.SetUp failed %" CHIP_ERROR_FORMAT, err.Format())); err = CastingServer::GetInstance()->KeypadInput_SendKey( - &endpoint, static_cast(keyCode), + &endpoint, static_cast(keyCode), [](CHIP_ERROR err) { TvCastingAppJNIMgr().getMediaCommandResponseHandler(KeypadInput_SendKey).Handle(err); }); VerifyOrExit(CHIP_NO_ERROR == err, ChipLogError(AppServer, "CastingServer.KeypadInput_SendKey failed %" CHIP_ERROR_FORMAT, err.Format())); diff --git a/examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge/CastingServerBridge.mm b/examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge/CastingServerBridge.mm index e2227134d0ee8c..b19d72097f7ecc 100644 --- a/examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge/CastingServerBridge.mm +++ b/examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge/CastingServerBridge.mm @@ -2154,7 +2154,7 @@ - (void)keypadInput_sendKey:(ContentApp * _Nonnull)contentApp [ConversionUtils convertToCppTargetEndpointInfoFrom:contentApp outTargetEndpointInfo:endpoint]; return castingServer->KeypadInput_SendKey(&endpoint, - static_cast(keyCode), responseFunction); + static_cast(keyCode), responseFunction); }]; } diff --git a/examples/tv-casting-app/tv-casting-common/include/CastingServer.h b/examples/tv-casting-app/tv-casting-common/include/CastingServer.h index 90c986a0b330d4..349edaefb31a79 100644 --- a/examples/tv-casting-app/tv-casting-common/include/CastingServer.h +++ b/examples/tv-casting-app/tv-casting-common/include/CastingServer.h @@ -303,7 +303,7 @@ class CastingServer : public AppDelegate /** * @brief Keypad Input cluster */ - CHIP_ERROR KeypadInput_SendKey(TargetEndpointInfo * endpoint, const chip::app::Clusters::KeypadInput::CecKeyCode keyCode, + CHIP_ERROR KeypadInput_SendKey(TargetEndpointInfo * endpoint, const chip::app::Clusters::KeypadInput::CECKeyCodeEnum keyCode, std::function responseCallback); /** diff --git a/examples/tv-casting-app/tv-casting-common/include/KeypadInput.h b/examples/tv-casting-app/tv-casting-common/include/KeypadInput.h index a4e7a43338e9d6..0f4dce699b1a6f 100644 --- a/examples/tv-casting-app/tv-casting-common/include/KeypadInput.h +++ b/examples/tv-casting-app/tv-casting-common/include/KeypadInput.h @@ -29,5 +29,6 @@ class SendKeyCommand : public MediaCommandBase responseCallback); + CHIP_ERROR Invoke(const chip::app::Clusters::KeypadInput::CECKeyCodeEnum keyCode, + std::function responseCallback); }; diff --git a/examples/tv-casting-app/tv-casting-common/src/CastingServer.cpp b/examples/tv-casting-app/tv-casting-common/src/CastingServer.cpp index 6b64a1d18c3786..fbbb9d32d8f030 100644 --- a/examples/tv-casting-app/tv-casting-common/src/CastingServer.cpp +++ b/examples/tv-casting-app/tv-casting-common/src/CastingServer.cpp @@ -1100,7 +1100,7 @@ CHIP_ERROR CastingServer::TargetNavigator_SubscribeToCurrentTarget( * @brief Keypad Input cluster */ CHIP_ERROR CastingServer::KeypadInput_SendKey(TargetEndpointInfo * endpoint, - const chip::app::Clusters::KeypadInput::CecKeyCode keyCode, + const chip::app::Clusters::KeypadInput::CECKeyCodeEnum keyCode, std::function responseCallback) { ReturnErrorOnFailure(mSendKeyCommand.SetTarget(mActiveTargetVideoPlayerInfo, endpoint->GetEndpointId())); diff --git a/examples/tv-casting-app/tv-casting-common/src/KeypadInput.cpp b/examples/tv-casting-app/tv-casting-common/src/KeypadInput.cpp index d9469603b292a4..52a03390b70520 100644 --- a/examples/tv-casting-app/tv-casting-common/src/KeypadInput.cpp +++ b/examples/tv-casting-app/tv-casting-common/src/KeypadInput.cpp @@ -21,7 +21,7 @@ using namespace chip; using namespace chip::app::Clusters; -CHIP_ERROR SendKeyCommand::Invoke(const chip::app::Clusters::KeypadInput::CecKeyCode keyCode, +CHIP_ERROR SendKeyCommand::Invoke(const chip::app::Clusters::KeypadInput::CECKeyCodeEnum keyCode, std::function responseCallback) { KeypadInput::Commands::SendKey::Type request; diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter index eb90d7d576e809..dabf87dce4771a 100644 --- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter +++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter @@ -1626,7 +1626,7 @@ client cluster LowPower = 1288 { /** This cluster provides an interface for controlling a device like a TV using action commands such as UP, DOWN, and SELECT. */ client cluster KeypadInput = 1289 { - enum CecKeyCode : enum8 { + enum CECKeyCodeEnum : enum8 { kSelect = 0; kUp = 1; kDown = 2; @@ -1735,7 +1735,7 @@ client cluster KeypadInput = 1289 { readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { - CecKeyCode keyCode = 0; + CECKeyCodeEnum keyCode = 0; } response struct SendKeyResponse = 1 { diff --git a/scripts/py_matter_idl/matter_idl/tests/inputs/large_all_clusters_app.matter b/scripts/py_matter_idl/matter_idl/tests/inputs/large_all_clusters_app.matter index 9886eb91264dfc..6c1204d2f42b13 100644 --- a/scripts/py_matter_idl/matter_idl/tests/inputs/large_all_clusters_app.matter +++ b/scripts/py_matter_idl/matter_idl/tests/inputs/large_all_clusters_app.matter @@ -3250,7 +3250,7 @@ server cluster LowPower = 1288 { } server cluster KeypadInput = 1289 { - enum CecKeyCode : ENUM8 { + enum CECKeyCodeEnum : ENUM8 { kSelect = 0; kUp = 1; kDown = 2; @@ -3355,7 +3355,7 @@ server cluster KeypadInput = 1289 { readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { - CecKeyCode keyCode = 0; + CECKeyCodeEnum keyCode = 0; } response struct SendKeyResponse = 1 { diff --git a/src/app/CompatEnumNames.h b/src/app/CompatEnumNames.h index 5e4efd735be26c..f370132e86b16e 100644 --- a/src/app/CompatEnumNames.h +++ b/src/app/CompatEnumNames.h @@ -19,7 +19,6 @@ * is meant to be included at the end of cluster-enums.h, after all the normal * enum definitions are available. */ - #pragma once namespace chip { @@ -61,6 +60,8 @@ using ApplicationLauncherStatusEnum = StatusEnum; namespace KeypadInput { // https://github.com/project-chip/connectedhomeip/pull/30316 renamed this using KeypadInputStatusEnum = StatusEnum; +// https://github.com/project-chip/connectedhomeip/pull/30497 renamed this +using CecKeyCode = CECKeyCodeEnum; } // namespace KeypadInput namespace Channel { diff --git a/src/app/clusters/keypad-input-server/keypad-input-delegate.h b/src/app/clusters/keypad-input-server/keypad-input-delegate.h index 608b45f0b896e4..24c0a3fd7f4ac9 100644 --- a/src/app/clusters/keypad-input-server/keypad-input-delegate.h +++ b/src/app/clusters/keypad-input-server/keypad-input-delegate.h @@ -34,7 +34,7 @@ namespace KeypadInput { class Delegate { public: - virtual void HandleSendKey(CommandResponseHelper & helper, const CecKeyCode & keyCode) = 0; + virtual void HandleSendKey(CommandResponseHelper & helper, const CECKeyCodeEnum & keyCode) = 0; bool HasFeature(chip::EndpointId endpoint, Feature feature); diff --git a/src/app/zap-templates/zcl/data-model/chip/keypad-input-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/keypad-input-cluster.xml index aaa1820fae3320..d4f6ffbba9a742 100644 --- a/src/app/zap-templates/zcl/data-model/chip/keypad-input-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/keypad-input-cluster.xml @@ -27,7 +27,7 @@ limitations under the License. Upon receipt, this SHALL process a keycode as input to the media device. - + @@ -44,7 +44,7 @@ limitations under the License. - + diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter index a667562a0a4d91..db93c236c1b094 100644 --- a/src/controller/data_model/controller-clusters.matter +++ b/src/controller/data_model/controller-clusters.matter @@ -6582,7 +6582,7 @@ client cluster LowPower = 1288 { /** This cluster provides an interface for controlling a device like a TV using action commands such as UP, DOWN, and SELECT. */ client cluster KeypadInput = 1289 { - enum CecKeyCode : enum8 { + enum CECKeyCodeEnum : enum8 { kSelect = 0; kUp = 1; kDown = 2; @@ -6691,7 +6691,7 @@ client cluster KeypadInput = 1289 { readonly attribute int16u clusterRevision = 65533; request struct SendKeyRequest { - CecKeyCode keyCode = 0; + CECKeyCodeEnum keyCode = 0; } response struct SendKeyResponse = 1 { diff --git a/src/controller/python/chip/clusters/Objects.py b/src/controller/python/chip/clusters/Objects.py index 5e72b1d2b0b1d4..0cb204525c3926 100644 --- a/src/controller/python/chip/clusters/Objects.py +++ b/src/controller/python/chip/clusters/Objects.py @@ -36447,7 +36447,7 @@ def descriptor(cls) -> ClusterObjectDescriptor: clusterRevision: 'uint' = None class Enums: - class CecKeyCode(MatterIntEnum): + class CECKeyCodeEnum(MatterIntEnum): kSelect = 0x00 kUp = 0x01 kDown = 0x02 @@ -36568,10 +36568,10 @@ class SendKey(ClusterCommand): def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( Fields=[ - ClusterObjectFieldDescriptor(Label="keyCode", Tag=0, Type=KeypadInput.Enums.CecKeyCode), + ClusterObjectFieldDescriptor(Label="keyCode", Tag=0, Type=KeypadInput.Enums.CECKeyCodeEnum), ]) - keyCode: 'KeypadInput.Enums.CecKeyCode' = 0 + keyCode: 'KeypadInput.Enums.CECKeyCodeEnum' = 0 @dataclass class SendKeyResponse(ClusterCommand): diff --git a/src/darwin/Framework/CHIP/templates/availability.yaml b/src/darwin/Framework/CHIP/templates/availability.yaml index 9d45ae3bd72689..4f27613843def4 100644 --- a/src/darwin/Framework/CHIP/templates/availability.yaml +++ b/src/darwin/Framework/CHIP/templates/availability.yaml @@ -7774,6 +7774,8 @@ enums: ContentLauncher: - StatusEnum + KeypadInput: + - CECKeyCodeEnum ThermostatUserInterfaceConfiguration: - KeypadLockoutEnum - ScheduleProgrammingVisibilityEnum @@ -7788,6 +7790,94 @@ FanModeSequenceEnum: - OffHighAuto - OffHigh + KeypadInput: + CECKeyCodeEnum: + - Select + - Up + - Down + - Left + - Right + - RightUp + - RightDown + - LeftUp + - LeftDown + - RootMenu + - SetupMenu + - ContentsMenu + - FavoriteMenu + - Exit + - MediaTopMenu + - MediaContextSensitiveMenu + - NumberEntryMode + - Number11 + - Number12 + - Number0OrNumber10 + - Numbers1 + - Numbers2 + - Numbers3 + - Numbers4 + - Numbers5 + - Numbers6 + - Numbers7 + - Numbers8 + - Numbers9 + - Dot + - Enter + - Clear + - NextFavorite + - ChannelUp + - ChannelDown + - PreviousChannel + - SoundSelect + - InputSelect + - DisplayInformation + - Help + - PageUp + - PageDown + - Power + - VolumeUp + - VolumeDown + - Mute + - Play + - Stop + - Pause + - Record + - Rewind + - FastForward + - Eject + - Forward + - Backward + - StopRecord + - PauseRecord + - Reserved + - Angle + - SubPicture + - VideoOnDemand + - ElectronicProgramGuide + - TimerProgramming + - InitialConfiguration + - SelectBroadcastType + - SelectSoundPresentation + - PlayFunction + - PausePlayFunction + - RecordFunction + - PauseRecordFunction + - StopFunction + - MuteFunction + - RestoreVolumeFunction + - TuneFunction + - SelectMediaFunction + - SelectAvInputFunction + - SelectAudioInputFunction + - PowerToggleFunction + - PowerOffFunction + - PowerOnFunction + - F1Blue + - F2Red + - F3Green + - F4Yellow + - F5 + - Data ThermostatUserInterfaceConfiguration: KeypadLockoutEnum: - NoLockout @@ -7840,6 +7930,8 @@ enums: ContentLauncher: - ContentLaunchStatusEnum + KeypadInput: + - CecKeyCode enum values: FanControl: FanModeSequenceEnum: @@ -7946,6 +8038,8 @@ enums: ContentLauncher: StatusEnum: ContentLaunchStatusEnum + KeypadInput: + CECKeyCodeEnum: CecKeyCode enum values: ContentLauncher: # The URLNotAvailable value got renamed at the same time diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h index 2a4bd8c2c054db..fd1d09ee09e20a 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h +++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h @@ -17200,94 +17200,356 @@ typedef NS_OPTIONS(uint32_t, MTRMediaInputFeature) { MTRMediaInputFeatureNameUpdates MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x1, } MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +typedef NS_ENUM(uint8_t, MTRKeypadInputCECKeyCode) { + MTRKeypadInputCECKeyCodeSelect MTR_NEWLY_AVAILABLE = 0x00, + MTRKeypadInputCECKeyCodeUp MTR_NEWLY_AVAILABLE = 0x01, + MTRKeypadInputCECKeyCodeDown MTR_NEWLY_AVAILABLE = 0x02, + MTRKeypadInputCECKeyCodeLeft MTR_NEWLY_AVAILABLE = 0x03, + MTRKeypadInputCECKeyCodeRight MTR_NEWLY_AVAILABLE = 0x04, + MTRKeypadInputCECKeyCodeRightUp MTR_NEWLY_AVAILABLE = 0x05, + MTRKeypadInputCECKeyCodeRightDown MTR_NEWLY_AVAILABLE = 0x06, + MTRKeypadInputCECKeyCodeLeftUp MTR_NEWLY_AVAILABLE = 0x07, + MTRKeypadInputCECKeyCodeLeftDown MTR_NEWLY_AVAILABLE = 0x08, + MTRKeypadInputCECKeyCodeRootMenu MTR_NEWLY_AVAILABLE = 0x09, + MTRKeypadInputCECKeyCodeSetupMenu MTR_NEWLY_AVAILABLE = 0x0A, + MTRKeypadInputCECKeyCodeContentsMenu MTR_NEWLY_AVAILABLE = 0x0B, + MTRKeypadInputCECKeyCodeFavoriteMenu MTR_NEWLY_AVAILABLE = 0x0C, + MTRKeypadInputCECKeyCodeExit MTR_NEWLY_AVAILABLE = 0x0D, + MTRKeypadInputCECKeyCodeMediaTopMenu MTR_NEWLY_AVAILABLE = 0x10, + MTRKeypadInputCECKeyCodeMediaContextSensitiveMenu MTR_NEWLY_AVAILABLE = 0x11, + MTRKeypadInputCECKeyCodeNumberEntryMode MTR_NEWLY_AVAILABLE = 0x1D, + MTRKeypadInputCECKeyCodeNumber11 MTR_NEWLY_AVAILABLE = 0x1E, + MTRKeypadInputCECKeyCodeNumber12 MTR_NEWLY_AVAILABLE = 0x1F, + MTRKeypadInputCECKeyCodeNumber0OrNumber10 MTR_NEWLY_AVAILABLE = 0x20, + MTRKeypadInputCECKeyCodeNumbers1 MTR_NEWLY_AVAILABLE = 0x21, + MTRKeypadInputCECKeyCodeNumbers2 MTR_NEWLY_AVAILABLE = 0x22, + MTRKeypadInputCECKeyCodeNumbers3 MTR_NEWLY_AVAILABLE = 0x23, + MTRKeypadInputCECKeyCodeNumbers4 MTR_NEWLY_AVAILABLE = 0x24, + MTRKeypadInputCECKeyCodeNumbers5 MTR_NEWLY_AVAILABLE = 0x25, + MTRKeypadInputCECKeyCodeNumbers6 MTR_NEWLY_AVAILABLE = 0x26, + MTRKeypadInputCECKeyCodeNumbers7 MTR_NEWLY_AVAILABLE = 0x27, + MTRKeypadInputCECKeyCodeNumbers8 MTR_NEWLY_AVAILABLE = 0x28, + MTRKeypadInputCECKeyCodeNumbers9 MTR_NEWLY_AVAILABLE = 0x29, + MTRKeypadInputCECKeyCodeDot MTR_NEWLY_AVAILABLE = 0x2A, + MTRKeypadInputCECKeyCodeEnter MTR_NEWLY_AVAILABLE = 0x2B, + MTRKeypadInputCECKeyCodeClear MTR_NEWLY_AVAILABLE = 0x2C, + MTRKeypadInputCECKeyCodeNextFavorite MTR_NEWLY_AVAILABLE = 0x2F, + MTRKeypadInputCECKeyCodeChannelUp MTR_NEWLY_AVAILABLE = 0x30, + MTRKeypadInputCECKeyCodeChannelDown MTR_NEWLY_AVAILABLE = 0x31, + MTRKeypadInputCECKeyCodePreviousChannel MTR_NEWLY_AVAILABLE = 0x32, + MTRKeypadInputCECKeyCodeSoundSelect MTR_NEWLY_AVAILABLE = 0x33, + MTRKeypadInputCECKeyCodeInputSelect MTR_NEWLY_AVAILABLE = 0x34, + MTRKeypadInputCECKeyCodeDisplayInformation MTR_NEWLY_AVAILABLE = 0x35, + MTRKeypadInputCECKeyCodeHelp MTR_NEWLY_AVAILABLE = 0x36, + MTRKeypadInputCECKeyCodePageUp MTR_NEWLY_AVAILABLE = 0x37, + MTRKeypadInputCECKeyCodePageDown MTR_NEWLY_AVAILABLE = 0x38, + MTRKeypadInputCECKeyCodePower MTR_NEWLY_AVAILABLE = 0x40, + MTRKeypadInputCECKeyCodeVolumeUp MTR_NEWLY_AVAILABLE = 0x41, + MTRKeypadInputCECKeyCodeVolumeDown MTR_NEWLY_AVAILABLE = 0x42, + MTRKeypadInputCECKeyCodeMute MTR_NEWLY_AVAILABLE = 0x43, + MTRKeypadInputCECKeyCodePlay MTR_NEWLY_AVAILABLE = 0x44, + MTRKeypadInputCECKeyCodeStop MTR_NEWLY_AVAILABLE = 0x45, + MTRKeypadInputCECKeyCodePause MTR_NEWLY_AVAILABLE = 0x46, + MTRKeypadInputCECKeyCodeRecord MTR_NEWLY_AVAILABLE = 0x47, + MTRKeypadInputCECKeyCodeRewind MTR_NEWLY_AVAILABLE = 0x48, + MTRKeypadInputCECKeyCodeFastForward MTR_NEWLY_AVAILABLE = 0x49, + MTRKeypadInputCECKeyCodeEject MTR_NEWLY_AVAILABLE = 0x4A, + MTRKeypadInputCECKeyCodeForward MTR_NEWLY_AVAILABLE = 0x4B, + MTRKeypadInputCECKeyCodeBackward MTR_NEWLY_AVAILABLE = 0x4C, + MTRKeypadInputCECKeyCodeStopRecord MTR_NEWLY_AVAILABLE = 0x4D, + MTRKeypadInputCECKeyCodePauseRecord MTR_NEWLY_AVAILABLE = 0x4E, + MTRKeypadInputCECKeyCodeReserved MTR_NEWLY_AVAILABLE = 0x4F, + MTRKeypadInputCECKeyCodeAngle MTR_NEWLY_AVAILABLE = 0x50, + MTRKeypadInputCECKeyCodeSubPicture MTR_NEWLY_AVAILABLE = 0x51, + MTRKeypadInputCECKeyCodeVideoOnDemand MTR_NEWLY_AVAILABLE = 0x52, + MTRKeypadInputCECKeyCodeElectronicProgramGuide MTR_NEWLY_AVAILABLE = 0x53, + MTRKeypadInputCECKeyCodeTimerProgramming MTR_NEWLY_AVAILABLE = 0x54, + MTRKeypadInputCECKeyCodeInitialConfiguration MTR_NEWLY_AVAILABLE = 0x55, + MTRKeypadInputCECKeyCodeSelectBroadcastType MTR_NEWLY_AVAILABLE = 0x56, + MTRKeypadInputCECKeyCodeSelectSoundPresentation MTR_NEWLY_AVAILABLE = 0x57, + MTRKeypadInputCECKeyCodePlayFunction MTR_NEWLY_AVAILABLE = 0x60, + MTRKeypadInputCECKeyCodePausePlayFunction MTR_NEWLY_AVAILABLE = 0x61, + MTRKeypadInputCECKeyCodeRecordFunction MTR_NEWLY_AVAILABLE = 0x62, + MTRKeypadInputCECKeyCodePauseRecordFunction MTR_NEWLY_AVAILABLE = 0x63, + MTRKeypadInputCECKeyCodeStopFunction MTR_NEWLY_AVAILABLE = 0x64, + MTRKeypadInputCECKeyCodeMuteFunction MTR_NEWLY_AVAILABLE = 0x65, + MTRKeypadInputCECKeyCodeRestoreVolumeFunction MTR_NEWLY_AVAILABLE = 0x66, + MTRKeypadInputCECKeyCodeTuneFunction MTR_NEWLY_AVAILABLE = 0x67, + MTRKeypadInputCECKeyCodeSelectMediaFunction MTR_NEWLY_AVAILABLE = 0x68, + MTRKeypadInputCECKeyCodeSelectAvInputFunction MTR_NEWLY_AVAILABLE = 0x69, + MTRKeypadInputCECKeyCodeSelectAudioInputFunction MTR_NEWLY_AVAILABLE = 0x6A, + MTRKeypadInputCECKeyCodePowerToggleFunction MTR_NEWLY_AVAILABLE = 0x6B, + MTRKeypadInputCECKeyCodePowerOffFunction MTR_NEWLY_AVAILABLE = 0x6C, + MTRKeypadInputCECKeyCodePowerOnFunction MTR_NEWLY_AVAILABLE = 0x6D, + MTRKeypadInputCECKeyCodeF1Blue MTR_NEWLY_AVAILABLE = 0x71, + MTRKeypadInputCECKeyCodeF2Red MTR_NEWLY_AVAILABLE = 0x72, + MTRKeypadInputCECKeyCodeF3Green MTR_NEWLY_AVAILABLE = 0x73, + MTRKeypadInputCECKeyCodeF4Yellow MTR_NEWLY_AVAILABLE = 0x74, + MTRKeypadInputCECKeyCodeF5 MTR_NEWLY_AVAILABLE = 0x75, + MTRKeypadInputCECKeyCodeData MTR_NEWLY_AVAILABLE = 0x76, +} MTR_NEWLY_AVAILABLE; + typedef NS_ENUM(uint8_t, MTRKeypadInputCecKeyCode) { - MTRKeypadInputCecKeyCodeSelect MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x00, - MTRKeypadInputCecKeyCodeUp MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x01, - MTRKeypadInputCecKeyCodeDown MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x02, - MTRKeypadInputCecKeyCodeLeft MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x03, - MTRKeypadInputCecKeyCodeRight MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x04, - MTRKeypadInputCecKeyCodeRightUp MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x05, - MTRKeypadInputCecKeyCodeRightDown MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x06, - MTRKeypadInputCecKeyCodeLeftUp MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x07, - MTRKeypadInputCecKeyCodeLeftDown MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x08, - MTRKeypadInputCecKeyCodeRootMenu MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x09, - MTRKeypadInputCecKeyCodeSetupMenu MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x0A, - MTRKeypadInputCecKeyCodeContentsMenu MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x0B, - MTRKeypadInputCecKeyCodeFavoriteMenu MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x0C, - MTRKeypadInputCecKeyCodeExit MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x0D, - MTRKeypadInputCecKeyCodeMediaTopMenu MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x10, - MTRKeypadInputCecKeyCodeMediaContextSensitiveMenu MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x11, - MTRKeypadInputCecKeyCodeNumberEntryMode MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x1D, - MTRKeypadInputCecKeyCodeNumber11 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x1E, - MTRKeypadInputCecKeyCodeNumber12 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x1F, - MTRKeypadInputCecKeyCodeNumber0OrNumber10 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x20, - MTRKeypadInputCecKeyCodeNumbers1 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x21, - MTRKeypadInputCecKeyCodeNumbers2 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x22, - MTRKeypadInputCecKeyCodeNumbers3 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x23, - MTRKeypadInputCecKeyCodeNumbers4 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x24, - MTRKeypadInputCecKeyCodeNumbers5 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x25, - MTRKeypadInputCecKeyCodeNumbers6 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x26, - MTRKeypadInputCecKeyCodeNumbers7 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x27, - MTRKeypadInputCecKeyCodeNumbers8 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x28, - MTRKeypadInputCecKeyCodeNumbers9 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x29, - MTRKeypadInputCecKeyCodeDot MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x2A, - MTRKeypadInputCecKeyCodeEnter MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x2B, - MTRKeypadInputCecKeyCodeClear MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x2C, - MTRKeypadInputCecKeyCodeNextFavorite MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x2F, - MTRKeypadInputCecKeyCodeChannelUp MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x30, - MTRKeypadInputCecKeyCodeChannelDown MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x31, - MTRKeypadInputCecKeyCodePreviousChannel MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x32, - MTRKeypadInputCecKeyCodeSoundSelect MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x33, - MTRKeypadInputCecKeyCodeInputSelect MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x34, - MTRKeypadInputCecKeyCodeDisplayInformation MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x35, - MTRKeypadInputCecKeyCodeHelp MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x36, - MTRKeypadInputCecKeyCodePageUp MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x37, - MTRKeypadInputCecKeyCodePageDown MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x38, - MTRKeypadInputCecKeyCodePower MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x40, - MTRKeypadInputCecKeyCodeVolumeUp MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x41, - MTRKeypadInputCecKeyCodeVolumeDown MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x42, - MTRKeypadInputCecKeyCodeMute MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x43, - MTRKeypadInputCecKeyCodePlay MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x44, - MTRKeypadInputCecKeyCodeStop MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x45, - MTRKeypadInputCecKeyCodePause MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x46, - MTRKeypadInputCecKeyCodeRecord MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x47, - MTRKeypadInputCecKeyCodeRewind MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x48, - MTRKeypadInputCecKeyCodeFastForward MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x49, - MTRKeypadInputCecKeyCodeEject MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x4A, - MTRKeypadInputCecKeyCodeForward MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x4B, - MTRKeypadInputCecKeyCodeBackward MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x4C, - MTRKeypadInputCecKeyCodeStopRecord MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x4D, - MTRKeypadInputCecKeyCodePauseRecord MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x4E, - MTRKeypadInputCecKeyCodeReserved MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x4F, - MTRKeypadInputCecKeyCodeAngle MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x50, - MTRKeypadInputCecKeyCodeSubPicture MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x51, - MTRKeypadInputCecKeyCodeVideoOnDemand MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x52, - MTRKeypadInputCecKeyCodeElectronicProgramGuide MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x53, - MTRKeypadInputCecKeyCodeTimerProgramming MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x54, - MTRKeypadInputCecKeyCodeInitialConfiguration MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x55, - MTRKeypadInputCecKeyCodeSelectBroadcastType MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x56, - MTRKeypadInputCecKeyCodeSelectSoundPresentation MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x57, - MTRKeypadInputCecKeyCodePlayFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x60, - MTRKeypadInputCecKeyCodePausePlayFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x61, - MTRKeypadInputCecKeyCodeRecordFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x62, - MTRKeypadInputCecKeyCodePauseRecordFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x63, - MTRKeypadInputCecKeyCodeStopFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x64, - MTRKeypadInputCecKeyCodeMuteFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x65, - MTRKeypadInputCecKeyCodeRestoreVolumeFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x66, - MTRKeypadInputCecKeyCodeTuneFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x67, - MTRKeypadInputCecKeyCodeSelectMediaFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x68, - MTRKeypadInputCecKeyCodeSelectAvInputFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x69, - MTRKeypadInputCecKeyCodeSelectAudioInputFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x6A, - MTRKeypadInputCecKeyCodePowerToggleFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x6B, - MTRKeypadInputCecKeyCodePowerOffFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x6C, - MTRKeypadInputCecKeyCodePowerOnFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x6D, - MTRKeypadInputCecKeyCodeF1Blue MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x71, - MTRKeypadInputCecKeyCodeF2Red MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x72, - MTRKeypadInputCecKeyCodeF3Green MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x73, - MTRKeypadInputCecKeyCodeF4Yellow MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x74, - MTRKeypadInputCecKeyCodeF5 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x75, - MTRKeypadInputCecKeyCodeData MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x76, -} MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); + MTRKeypadInputCecKeyCodeSelect MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeSelect") + = 0x00, + MTRKeypadInputCecKeyCodeUp MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeUp") + = 0x01, + MTRKeypadInputCecKeyCodeDown MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeDown") + = 0x02, + MTRKeypadInputCecKeyCodeLeft MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeLeft") + = 0x03, + MTRKeypadInputCecKeyCodeRight MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeRight") + = 0x04, + MTRKeypadInputCecKeyCodeRightUp MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeRightUp") + = 0x05, + MTRKeypadInputCecKeyCodeRightDown MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeRightDown") + = 0x06, + MTRKeypadInputCecKeyCodeLeftUp MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeLeftUp") + = 0x07, + MTRKeypadInputCecKeyCodeLeftDown MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeLeftDown") + = 0x08, + MTRKeypadInputCecKeyCodeRootMenu MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeRootMenu") + = 0x09, + MTRKeypadInputCecKeyCodeSetupMenu MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeSetupMenu") + = 0x0A, + MTRKeypadInputCecKeyCodeContentsMenu MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeContentsMenu") + = 0x0B, + MTRKeypadInputCecKeyCodeFavoriteMenu MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeFavoriteMenu") + = 0x0C, + MTRKeypadInputCecKeyCodeExit MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeExit") + = 0x0D, + MTRKeypadInputCecKeyCodeMediaTopMenu MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeMediaTopMenu") + = 0x10, + MTRKeypadInputCecKeyCodeMediaContextSensitiveMenu MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeMediaContextSensitiveMenu") + = 0x11, + MTRKeypadInputCecKeyCodeNumberEntryMode MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeNumberEntryMode") + = 0x1D, + MTRKeypadInputCecKeyCodeNumber11 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeNumber11") + = 0x1E, + MTRKeypadInputCecKeyCodeNumber12 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeNumber12") + = 0x1F, + MTRKeypadInputCecKeyCodeNumber0OrNumber10 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeNumber0OrNumber10") + = 0x20, + MTRKeypadInputCecKeyCodeNumbers1 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeNumbers1") + = 0x21, + MTRKeypadInputCecKeyCodeNumbers2 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeNumbers2") + = 0x22, + MTRKeypadInputCecKeyCodeNumbers3 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeNumbers3") + = 0x23, + MTRKeypadInputCecKeyCodeNumbers4 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeNumbers4") + = 0x24, + MTRKeypadInputCecKeyCodeNumbers5 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeNumbers5") + = 0x25, + MTRKeypadInputCecKeyCodeNumbers6 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeNumbers6") + = 0x26, + MTRKeypadInputCecKeyCodeNumbers7 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeNumbers7") + = 0x27, + MTRKeypadInputCecKeyCodeNumbers8 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeNumbers8") + = 0x28, + MTRKeypadInputCecKeyCodeNumbers9 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeNumbers9") + = 0x29, + MTRKeypadInputCecKeyCodeDot MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeDot") + = 0x2A, + MTRKeypadInputCecKeyCodeEnter MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeEnter") + = 0x2B, + MTRKeypadInputCecKeyCodeClear MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeClear") + = 0x2C, + MTRKeypadInputCecKeyCodeNextFavorite MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeNextFavorite") + = 0x2F, + MTRKeypadInputCecKeyCodeChannelUp MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeChannelUp") + = 0x30, + MTRKeypadInputCecKeyCodeChannelDown MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeChannelDown") + = 0x31, + MTRKeypadInputCecKeyCodePreviousChannel MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodePreviousChannel") + = 0x32, + MTRKeypadInputCecKeyCodeSoundSelect MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeSoundSelect") + = 0x33, + MTRKeypadInputCecKeyCodeInputSelect MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeInputSelect") + = 0x34, + MTRKeypadInputCecKeyCodeDisplayInformation MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeDisplayInformation") + = 0x35, + MTRKeypadInputCecKeyCodeHelp MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeHelp") + = 0x36, + MTRKeypadInputCecKeyCodePageUp MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodePageUp") + = 0x37, + MTRKeypadInputCecKeyCodePageDown MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodePageDown") + = 0x38, + MTRKeypadInputCecKeyCodePower MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodePower") + = 0x40, + MTRKeypadInputCecKeyCodeVolumeUp MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeVolumeUp") + = 0x41, + MTRKeypadInputCecKeyCodeVolumeDown MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeVolumeDown") + = 0x42, + MTRKeypadInputCecKeyCodeMute MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeMute") + = 0x43, + MTRKeypadInputCecKeyCodePlay MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodePlay") + = 0x44, + MTRKeypadInputCecKeyCodeStop MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeStop") + = 0x45, + MTRKeypadInputCecKeyCodePause MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodePause") + = 0x46, + MTRKeypadInputCecKeyCodeRecord MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeRecord") + = 0x47, + MTRKeypadInputCecKeyCodeRewind MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeRewind") + = 0x48, + MTRKeypadInputCecKeyCodeFastForward MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeFastForward") + = 0x49, + MTRKeypadInputCecKeyCodeEject MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeEject") + = 0x4A, + MTRKeypadInputCecKeyCodeForward MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeForward") + = 0x4B, + MTRKeypadInputCecKeyCodeBackward MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeBackward") + = 0x4C, + MTRKeypadInputCecKeyCodeStopRecord MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeStopRecord") + = 0x4D, + MTRKeypadInputCecKeyCodePauseRecord MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodePauseRecord") + = 0x4E, + MTRKeypadInputCecKeyCodeReserved MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeReserved") + = 0x4F, + MTRKeypadInputCecKeyCodeAngle MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeAngle") + = 0x50, + MTRKeypadInputCecKeyCodeSubPicture MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeSubPicture") + = 0x51, + MTRKeypadInputCecKeyCodeVideoOnDemand MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeVideoOnDemand") + = 0x52, + MTRKeypadInputCecKeyCodeElectronicProgramGuide MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeElectronicProgramGuide") + = 0x53, + MTRKeypadInputCecKeyCodeTimerProgramming MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeTimerProgramming") + = 0x54, + MTRKeypadInputCecKeyCodeInitialConfiguration MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeInitialConfiguration") + = 0x55, + MTRKeypadInputCecKeyCodeSelectBroadcastType MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeSelectBroadcastType") + = 0x56, + MTRKeypadInputCecKeyCodeSelectSoundPresentation MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeSelectSoundPresentation") + = 0x57, + MTRKeypadInputCecKeyCodePlayFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodePlayFunction") + = 0x60, + MTRKeypadInputCecKeyCodePausePlayFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodePausePlayFunction") + = 0x61, + MTRKeypadInputCecKeyCodeRecordFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeRecordFunction") + = 0x62, + MTRKeypadInputCecKeyCodePauseRecordFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodePauseRecordFunction") + = 0x63, + MTRKeypadInputCecKeyCodeStopFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeStopFunction") + = 0x64, + MTRKeypadInputCecKeyCodeMuteFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeMuteFunction") + = 0x65, + MTRKeypadInputCecKeyCodeRestoreVolumeFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeRestoreVolumeFunction") + = 0x66, + MTRKeypadInputCecKeyCodeTuneFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeTuneFunction") + = 0x67, + MTRKeypadInputCecKeyCodeSelectMediaFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeSelectMediaFunction") + = 0x68, + MTRKeypadInputCecKeyCodeSelectAvInputFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeSelectAvInputFunction") + = 0x69, + MTRKeypadInputCecKeyCodeSelectAudioInputFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeSelectAudioInputFunction") + = 0x6A, + MTRKeypadInputCecKeyCodePowerToggleFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodePowerToggleFunction") + = 0x6B, + MTRKeypadInputCecKeyCodePowerOffFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodePowerOffFunction") + = 0x6C, + MTRKeypadInputCecKeyCodePowerOnFunction MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodePowerOnFunction") + = 0x6D, + MTRKeypadInputCecKeyCodeF1Blue MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeF1Blue") + = 0x71, + MTRKeypadInputCecKeyCodeF2Red MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeF2Red") + = 0x72, + MTRKeypadInputCecKeyCodeF3Green MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeF3Green") + = 0x73, + MTRKeypadInputCecKeyCodeF4Yellow MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeF4Yellow") + = 0x74, + MTRKeypadInputCecKeyCodeF5 MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeF5") + = 0x75, + MTRKeypadInputCecKeyCodeData MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCodeData") + = 0x76, +} MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use MTRKeypadInputCECKeyCode"); typedef NS_ENUM(uint8_t, MTRKeypadInputStatus) { MTRKeypadInputStatusSuccess MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) = 0x00, diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-enums-check.h b/zzz_generated/app-common/app-common/zap-generated/cluster-enums-check.h index d7d0c472ba5f5c..ee48a35d7b0231 100644 --- a/zzz_generated/app-common/app-common/zap-generated/cluster-enums-check.h +++ b/zzz_generated/app-common/app-common/zap-generated/cluster-enums-check.h @@ -2839,9 +2839,9 @@ static auto __attribute__((unused)) EnsureKnownEnumValue(MediaInput::InputTypeEn } } -static auto __attribute__((unused)) EnsureKnownEnumValue(KeypadInput::CecKeyCode val) +static auto __attribute__((unused)) EnsureKnownEnumValue(KeypadInput::CECKeyCodeEnum val) { - using EnumType = KeypadInput::CecKeyCode; + using EnumType = KeypadInput::CECKeyCodeEnum; switch (val) { case EnumType::kSelect: diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h b/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h index 71ae3960c1b94e..d1be2c4dd4e836 100644 --- a/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h +++ b/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h @@ -4124,8 +4124,8 @@ namespace LowPower {} // namespace LowPower namespace KeypadInput { -// Enum for CecKeyCode -enum class CecKeyCode : uint8_t +// Enum for CECKeyCodeEnum +enum class CECKeyCodeEnum : uint8_t { kSelect = 0x00, kUp = 0x01, diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h index 809e3b385209ac..e83a7388300b43 100644 --- a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h +++ b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h @@ -31615,7 +31615,7 @@ struct Type static constexpr CommandId GetCommandId() { return Commands::SendKey::Id; } static constexpr ClusterId GetClusterId() { return Clusters::KeypadInput::Id; } - CecKeyCode keyCode = static_cast(0); + CECKeyCodeEnum keyCode = static_cast(0); CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const; @@ -31630,7 +31630,7 @@ struct DecodableType static constexpr CommandId GetCommandId() { return Commands::SendKey::Id; } static constexpr ClusterId GetClusterId() { return Clusters::KeypadInput::Id; } - CecKeyCode keyCode = static_cast(0); + CECKeyCodeEnum keyCode = static_cast(0); CHIP_ERROR Decode(TLV::TLVReader & reader); }; }; // namespace SendKey