X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fir_nec%2Flists.py;h=dbb9288d2b864778e74a45ea911318e9da4dd638;hb=HEAD;hp=c9dc595e6b82928810c7712a3d6495e9d7104da6;hpb=12fecc8ffc48a92ce1678aa9b4988f85bebe21a9;p=libsigrokdecode.git diff --git a/decoders/ir_nec/lists.py b/decoders/ir_nec/lists.py index c9dc595..dbb9288 100644 --- a/decoders/ir_nec/lists.py +++ b/decoders/ir_nec/lists.py @@ -14,13 +14,14 @@ ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## along with this program; if not, see . ## # Addresses/devices. Items that are not listed are reserved/unknown. address = { + 0x00: 'Joy-it SBC-IRC01', 0x40: 'Matsui TV', + 0xEA41: 'Unknown LED Panel', } digits = { @@ -48,5 +49,45 @@ command = { 31: ['Program down', 'P-'], 68: ['AV', 'AV'], }.items())), -} + # This is most likely a generic remote control. The PCB + # has space for 16 buttons total, of which not all are + # connected. The PCB is marked "JSY", "XSK-5462", and + # "2014-6-12 JW". It consists of only a single IC, marked + # "BJEC107BNE" or similar. The following buttons are + # marked for the remote control of a LED panel this was + # found in. + 0xEA41: { + 0x10: ['Warmer', 'T+'], + 0x11: ['Colder', 'T-'], + 0x12: ['Brighter', '+'], + 0x13: ['Darker', '-'], + 0x14: ['Off', 'O'], + 0x15: ['On', 'I'], + 0x41: ['Min Brightness', 'Min'], + 0x48: ['Max Brightness', 'Max'], + }, + 0x00: { + 0x45: ['Volume down', 'Vol-'], + 0x46: ['Play/Pause', 'P/P'], + 0x47: ['Volume up', 'Vol+'], + 0x44: ['Setup', 'Set'], + 0x40: ['Up', 'U'], + 0x43: ['Stop / Mode', 'S/M'], + 0x07: ['Left', 'L'], + 0x15: ['Enter', 'E'], + 0x09: ['Right', 'R'], + 0x16: ['0 / 10+', '0'], + 0x19: ['Down', 'D'], + 0x0D: ['Back', 'B'], + 0x0C: ['1', '1'], + 0x18: ['2', '2'], + 0x5E: ['3', '3'], + 0x08: ['4', '4'], + 0x1C: ['5', '5'], + 0x5A: ['6', '6'], + 0x42: ['7', '7'], + 0x52: ['8', '8'], + 0x4A: ['9', '9'], + } +}