mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-13 03:35:00 +00:00
Created IR Driver Bridging (markdown)
44
IR-Driver-Bridging.md
Normal file
44
IR-Driver-Bridging.md
Normal file
@@ -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.
|
||||
Reference in New Issue
Block a user