2 ## This file is part of the libsigrokdecode project.
4 ## Copyright (C) 2014 Uwe Hermann <uwe@hermann-uwe.de>
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; either version 2 of the License, or
9 ## (at your option) any later version.
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ## GNU General Public License for more details.
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, see <http://www.gnu.org/licenses/>.
20 # Systems/addresses (0..31). Items that are not listed are reserved/unknown.
22 0: ['TV receiver 1', 'TV1'],
23 1: ['TV receiver 2', 'TV2'],
24 2: ['Teletext', 'Txt'],
25 3: ['Extension to TV1 and TV2', 'Ext TV1/TV2'],
26 4: ['LaserVision player', 'LV'],
27 5: ['Video cassette recorder 1', 'VCR1'],
28 6: ['Video cassette recorder 2', 'VCR2'],
29 7: ['Experimental', 'Exp'],
30 8: ['Satellite TV receiver 1', 'Sat1'],
31 9: ['Extension to VCR1 and VCR2', 'Ext VCR1/VCR2'],
32 10: ['Satellite TV receiver 2', 'Sat2'],
33 12: ['Compact disc video player', 'CD-Video'],
34 13: ['Camcorder', 'Cam'],
35 14: ['Photo on compact disc player', 'CD-Photo'],
36 16: ['Audio preamplifier 1', 'Preamp1'],
37 17: ['Radio tuner', 'Tuner'],
38 18: ['Analog cassette recoder 1', 'Rec1'],
39 19: ['Audio preamplifier 2', 'Preamp2'],
40 20: ['Compact disc player', 'CD'],
41 21: ['Audio stack or record player', 'Combi'],
42 22: ['Audio satellite', 'Sat'],
43 23: ['Analog cassette recoder 2', 'Rec2'],
44 26: ['Compact disc recorder', 'CD-R'],
45 29: ['Lighting 1', 'Light1'],
46 30: ['Lighting 2', 'Light2'],
47 31: ['Telephone', 'Phone'],
63 # Commands (0..63 for RC-5, and 0..127 for Extended RC-5).
64 # Items that are not listed are reserved/unknown.
66 'TV': dict(list(digits.items()) + list({
68 11: ['Channel/program', 'Ch/P'],
69 12: ['Standby', 'StBy'],
71 14: ['Personal preferences', 'PP'],
72 15: ['Display', 'Disp'],
73 16: ['Volume up', 'Vol+'],
74 17: ['Volume down', 'Vol-'],
75 18: ['Brightness up', 'Br+'],
76 19: ['Brightness down', 'Br-'],
77 20: ['Saturation up', 'S+'],
78 21: ['Saturation down', 'S-'],
79 32: ['Program up', 'P+'],
80 33: ['Program down', 'P-'],
82 'VCR': dict(list(digits.items()) + list({
84 12: ['Standby', 'StBy'],
85 32: ['Program up', 'P+'],
86 33: ['Program down', 'P-'],
87 50: ['Fast rewind', 'FRW'],
88 52: ['Fast forward', 'FFW'],
91 55: ['Recording', 'Rec'],