From 069449f2d5f1072622b3e04dc67126616090a3e1 Mon Sep 17 00:00:00 2001 From: Jason DeVito Date: Tue, 31 Oct 2023 15:01:10 -0500 Subject: [PATCH] Created IR Driver Bridging (markdown) --- IR-Driver-Bridging.md | 44 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 IR-Driver-Bridging.md diff --git a/IR-Driver-Bridging.md b/IR-Driver-Bridging.md new file mode 100644 index 0000000..bf39a0c --- /dev/null +++ b/IR-Driver-Bridging.md @@ -0,0 +1,44 @@ +## Legacy IR Driver Bridging + +```json +{ + "id": "1", + "name": "Apple TV", + "key": "appleTv-1", + "type": "genericIrController", + "uid": 3, + "group": "devices", + "properties": { + "control": { + "method": "ir", + "irFile": "Apple_AppleTV_4th_Gen_Essentials.ir", + "controlPortDevKey": "processor", + "controlPortNumber": "1" + } + } +} +``` + +## Bridge Join Map IR Driver Bridging + +```json +{ + "id": "1", + "name": "Apple TV", + "key": "appleTv-1", + "type": "genericIrController", + "uid": 3, + "group": "devices", + "properties": { + "control": { + "method": "ir", + "irFile": "Apple_AppleTV_4th_Gen_Essentials.ir", + "controlPortDevKey": "processor", + "controlPortNumber": "1", + "useBridgeJoinMap": true + } + } +} +``` + +Both methods will bridge the IR signals with `Standard Command` defined in the IR file. The `GenericIrControllerJoinMap.cs` defines the IR driver signal join map for the `Standard Command` defined in the IR file. This allows users to swap IR drivers and keep the supported IR signals on the same join. \ No newline at end of file