Code: Select all
[ButtonMaps]
0 = ($0A, $01, $02, $03, $04, $05, $06, $07, $08, $09), ($0B, $0C, $0D), ($0E, $0F),
$10, $11, $12, $13, $1A, $1B, $1C, $1D, $1E, $1F, $20, $21, $23, $24, $25, $14,
$18, $15, $19, $16, $17
1 = ($0A, $01, $02, $03, $04, $05, $06, $07, $08, $09), ($0B, $0C, $0D), ($0E, $0F),
$10, $11, $12, $13, $1A, $1B, $1C, $1D, $1E, $1F, $20, $21, $22, $16, $17
2 = ($0A, $01, $02, $03, $04, $05, $06, $07, $08, $09), ($0B, $0C, $0D), ($0E, $0F),
$10, $11, $12, $13
3 = ($0A, $01, $02, $03, $04, $05, $06, $07, $08, $09), ($0B, $0C, $0D), ($0E, $0F),
$10, $11, $12, $13, $1A, $1B, $1C, $1D, $1E, $1F, $20, $21, $22, $16, $17
4 = ($0A, $01, $02, $03, $04, $05, $06, $07, $08, $09), ($0B, $0C, $0D), ($0E, $0F),
$10, $11, $12, $13, $14, $18, $17, $16, $15, $19, $1A, $1B, $1C, $1D, $1E, $1F,
$20, $22, $21, $23, $24, $25
5 = ($0A, $01, $02, $03, $04, $05, $06, $07, $08, $09), ($0B, $0C, $0D), ($0E, $0F),
$10, $11, $13, $14, $18, $17, $16, $15, $19, $12, $10, $11
6 = ($0A, $01, $02, $03, $04, $05, $06, $07, $08, $09), ($0B, $0C, $0D), ($0E, $0F),
$10, $11, $13, $14, $18, $17, $16, $15, $19, $1A, $1B, $1C, $1D, $1E, $1F, $20,
$12, $22, $23
7 = ($0A, $01, $02, $03, $04, $05, $06, $07, $08, $09), ($0B, $0C, $0D), ($0E, $0F),
$10, $11, $13, $14, $18, $17, $16, $15, $19, $12, $10, $11
8 = ($0A, $01, $02, $03, $04, $05, $06, $07, $08, $09), ($0B, $0C, $0D), ($0E, $0F),
$10, $11, $13, $14, $18, $17, $16, $15, $19, $12, $10, $11
9 = ($0A, $01, $02, $03, $04, $05, $06, $07, $08, $09), ($0B, $0C, $0D), ($0E, $0F),
$10, $11, $13, $14, $18, $17, $16, $15, $19, $12, $10, $11
10 = ($0A, $01, $02, $03, $04, $05, $06, $07, $08, $09), ($0B, $0C, $0D), ($0E, $0F),
$10, $11
[DigitMaps]
72 53 94 92 03 01 90 44 46 223 224 69 86 21 11 87 58 29 34 59 64 38 126 32 95 16
74 166 23 81 140 125 179 127 75 33 30 169 26 217 218 297 298 192 193 93 199 200 17
13 91 209 210 170 131 205 290 208 289 352
Each button listed in the [ButtonMaps] section corresponds to a bit in the button list bytes within an upgrade. When an upgrade is created, if a function is assigned to a button, the corresponding flag bit in the upgrade is set to indicate that function data for that button is present in the upgrade.
The buttons enclosed in parenthesis are a group, and only one flag bit is used for the entire group. For example, if the flag bit for the volume buttons group is set, then data for all the buttons in the group must be present in the upgrade.
The position of the button code in this section also determines the position of the function data for that button within an upgrade. All of this must match what the remote is expecting; if not, then the remote will misinterpret the upgrade.
There are some finer details I have not mentioned here, but maybe this is enough to formulate your next question.