Skip to content

Commit

Permalink
RDK-37000: Hdmi sink key mapping patch updated
Browse files Browse the repository at this point in the history
Reason for change: Hdmi sink key mapping patch
Test Procedure: None
Risks: Low
Priority:P2

Change-Id: I763f39dfcbfe185104b140491a426725234bbd68
Signed-off-by:Anooj Cheriyan <[email protected]>
  • Loading branch information
acheri988 authored and apatel859 committed Dec 31, 2022
1 parent 94f31e4 commit cb309aa
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 76 deletions.
4 changes: 4 additions & 0 deletions HdmiCecSink/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ All notable changes to this RDK Service will be documented in this file.

* For more details, refer to [versioning](https://github.com/rdkcentral/rdkservices#versioning) section under Main README.

## [1.0.9] - 2022-12-31
### Fixed
- Updated documentation for sendKeyEvent thunder API.

## [1.0.8] 2022-12-21
### Fixed
- Improve the CEC retry mechanism for OSDName on I2c cec bus busy.
Expand Down
2 changes: 1 addition & 1 deletion HdmiCecSink/HdmiCecSink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ static int32_t HdmiArcPortID = -1;

#define API_VERSION_NUMBER_MAJOR 1
#define API_VERSION_NUMBER_MINOR 0
#define API_VERSION_NUMBER_PATCH 8
#define API_VERSION_NUMBER_PATCH 9

namespace WPEFramework
{
Expand Down
8 changes: 4 additions & 4 deletions HdmiCecSink/HdmiCecSink.json
Original file line number Diff line number Diff line change
Expand Up @@ -402,9 +402,9 @@
"$ref": "#/definitions/logicalAddress"
},
"keyCode":{
"summary":"The key code for the pressed key",
"type": "integer",
"example": 65
"summary":"The key code for the pressed key. Possible values : `0x41` (VOLUME_UP), `0x42` (VOLUME_DOWN), `0x43` (MUTE), `0x01` (UP), `0x02` (DOWN), `0x03` (LEFT), `0x04` (RIGHT), `0x00` (SELECT), `0x09` (HOME), `0x0D` (BACK), `0x20` (NUMBER_0), `0x21` (NUMBER_1), `0x22` (NUMBER_2), `0x23` (NUMBER_3), `0x24` (NUMBER_4), `0x25` (NUMBER_5), `0x26` (NUMBER_6), `0x27` (NUMBER_7), `0x28` (NUMBER_8), `0x29` (NUMBER_9)",
"type": "integer",
"example": 65
}
},
"required": [
Expand Down Expand Up @@ -829,4 +829,4 @@
}

}
}
}
4 changes: 4 additions & 0 deletions HdmiCecSource/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ All notable changes to this RDK Service will be documented in this file.

* For more details, refer to [versioning](https://github.com/rdkcentral/rdkservices#versioning) section under Main README.

## [1.0.1] - 2022-12-31
### Fixed
- Updated documentation for sendKeyEvent thunder API.

## [1.0.0]
### Added
- Renaming Hdmicec_2 to HdmiCecSource and initializing the HdmiCecSource plugin.
Expand Down
70 changes: 4 additions & 66 deletions HdmiCecSource/HDMICecSource.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,68 +49,7 @@
"summary": "`true` if the device is active source otherwise, `false`",
"type": "boolean",
"example": "true"
},
"keyCodeMapping": [{
"Remote Action": "VOLUME_UP",
"keyCode": "0X41"
}, {
"Remote Action": "VOLUME_DOWN",
"keyCode": "0X42"
}, {
"Remote Action": "MUTE",
"keyCode": "0X43"
}, {
"Remote Action": "UP",
"keyCode": "0X01"
}, {
"Remote Action": "DOWN",
"keyCode": "0X02"
}, {
"Remote Action": "LEFT",
"keyCode": "0X03"
}, {
"Remote Action": "RIGHT",
"keyCode": "0X0"
}, {
"Remote Action": "SELECT",
"keyCode": "0X00"
}, {
"Remote Action": "HOME",
"keyCode": "0X09"
}, {
"Remote Action": "BACK",
"keyCode": "0X0D"
}, {
"Remote Action": "NUMBER_0",
"keyCode": "0X20"
}, {
"Remote Action": "NUMBER_1",
"keyCode": "0X21"
}, {
"Remote Action": "NUMBER_2",
"keyCode": "0X22"
}, {
"Remote Action": "NUMBER_3",
"keyCode": "0X23"
}, {
"Remote Action": "NUMBER_4",
"keyCode": "0X24"
}, {
"Remote Action": "NUMBER_5",
"keyCode": "0X25"
}, {
"Remote Action": "NUMBER_6",
"keyCode": "0X26"
}, {
"Remote Action": "NUMBER_7",
"keyCode": "0X27"
}, {
"Remote Action": "NUMBER_8",
"keyCode": "0X28"
}, {
"Remote Action": "NUMBER_9",
"keyCode": "0X29"
}]
}
},
"methods": {
"getActiveSourceStatus":{
Expand Down Expand Up @@ -261,10 +200,9 @@
"$ref": "#/definitions/logicalAddress"
},
"keyCode":{
"summary":"The key code for the pressed key",
"type": "integer",
"example": 65,
"$ref": "#/definitions/keyCodeMapping"
"summary":"The key code for the pressed key. Possible values : `0x41` (VOLUME_UP), `0x42` (VOLUME_DOWN), `0x43` (MUTE), `0x01` (UP), `0x02` (DOWN), `0x03` (LEFT), `0x04` (RIGHT), `0x00` (SELECT), `0x09` (HOME), `0x0D` (BACK), `0x20` (NUMBER_0), `0x21` (NUMBER_1), `0x22` (NUMBER_2), `0x23` (NUMBER_3), `0x24` (NUMBER_4), `0x25` (NUMBER_5), `0x26` (NUMBER_6), `0x27` (NUMBER_7), `0x28` (NUMBER_8), `0x29` (NUMBER_9)",
"type": "integer",
"example": 65
}
},
"required": [
Expand Down
2 changes: 1 addition & 1 deletion HdmiCecSource/HdmiCecSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

#define API_VERSION_NUMBER_MAJOR 1
#define API_VERSION_NUMBER_MINOR 0
#define API_VERSION_NUMBER_PATCH 0
#define API_VERSION_NUMBER_PATCH 1

enum {
HDMICECSOURCE_EVENT_DEVICE_ADDED=0,
Expand Down
4 changes: 4 additions & 0 deletions HdmiCec_2/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ All notable changes to this RDK Service will be documented in this file.

* For more details, refer to [versioning](https://github.com/rdkcentral/rdkservices#versioning) section under Main README.

## [1.0.7] - 2022-12-31
### Fixed
- Updated documentation for sendKeyEvent thunder API.

## [1.0.6] - 2022-12-15
### Fixed
- Treat warnings as errors for unit tests workflow
Expand Down
6 changes: 3 additions & 3 deletions HdmiCec_2/HDMICec_2.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@
"$ref": "#/definitions/logicalAddress"
},
"keyCode":{
"summary":"The key code for the pressed key",
"type": "integer",
"example": 65
"summary":"The key code for the pressed key. Possible values : `0x41` (VOLUME_UP), `0x42` (VOLUME_DOWN), `0x43` (MUTE), `0x01` (UP), `0x02` (DOWN), `0x03` (LEFT), `0x04` (RIGHT), `0x00` (SELECT), `0x09` (HOME), `0x0D` (BACK), `0x20` (NUMBER_0), `0x21` (NUMBER_1), `0x22` (NUMBER_2), `0x23` (NUMBER_3), `0x24` (NUMBER_4), `0x25` (NUMBER_5), `0x26` (NUMBER_6), `0x27` (NUMBER_7), `0x28` (NUMBER_8), `0x29` (NUMBER_9)",
"type": "integer",
"example": 65
}
},
"required": [
Expand Down
2 changes: 1 addition & 1 deletion HdmiCec_2/HdmiCec_2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

#define API_VERSION_NUMBER_MAJOR 1
#define API_VERSION_NUMBER_MINOR 0
#define API_VERSION_NUMBER_PATCH 6
#define API_VERSION_NUMBER_PATCH 7

enum {
HDMICEC2_EVENT_DEVICE_ADDED=0,
Expand Down

0 comments on commit cb309aa

Please sign in to comment.