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