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 # Addresses/devices. Items that are not listed are reserved/unknown.
22 0x00: 'Joy-it SBC-IRC01',
24 0xEA41: 'Unknown LED Panel',
40 # Commands. Items that are not listed are reserved/unknown.
42 0x40: dict(list(digits.items()) + list({
45 18: ['Standby', 'StBy'],
46 26: ['Volume up', 'Vol+'],
47 27: ['Program up', 'P+'],
48 30: ['Volume down', 'Vol-'],
49 31: ['Program down', 'P-'],
53 # This is most likely a generic remote control. The PCB
54 # has space for 16 buttons total, of which not all are
55 # connected. The PCB is marked "JSY", "XSK-5462", and
56 # "2014-6-12 JW". It consists of only a single IC, marked
57 # "BJEC107BNE" or similar. The following buttons are
58 # marked for the remote control of a LED panel this was
61 0x10: ['Warmer', 'T+'],
62 0x11: ['Colder', 'T-'],
63 0x12: ['Brighter', '+'],
64 0x13: ['Darker', '-'],
67 0x41: ['Min Brightness', 'Min'],
68 0x48: ['Max Brightness', 'Max'],
71 0x45: ['Volume down', 'Vol-'],
72 0x46: ['Play/Pause', 'P/P'],
73 0x47: ['Volume up', 'Vol+'],
74 0x44: ['Setup', 'Set'],
76 0x43: ['Stop / Mode', 'S/M'],
80 0x16: ['0 / 10+', '0'],