Skip to content

Commit

Permalink
Add many more BEO4 commands
Browse files Browse the repository at this point in the history
Fixed Shift-x commands, and added many more BEO4 commands
  • Loading branch information
giachello authored Aug 11, 2024
1 parent dd14850 commit 6243aee
Showing 1 changed file with 50 additions and 5 deletions.
55 changes: 50 additions & 5 deletions custom_components/mlgw/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,21 +277,25 @@
(0xF7, "Stand"),
(0x0A, "Clear"),
(0x0B, "Store"),
(0x0E, "Reset"),
(0x0E, "Reset"), # Shift-Mute
(0x14, "Back"),
(0x15, "MOTS"),
(0x17, "Shift-CD"),
(0x20, "Goto"),
(0x22, "Shift-Play"),
(0x24, "Shift-Goto"),
(0x28, "Show Clock"),
(0x2D, "Eject"),
(0x37, "Record"),
(0x38, "Shift-Stop"),
(0x3F, "Select"),
(0x46, "Sound"),
(0x7F, "Exit"),
(0xC0, "Shift-0 / Edit"),
(0xC1, "Shift-1 / Random"),
(0xC0, "Shift-0"), # Also: Edit
(0xC1, "Shift-1"), # Also: Random
(0xC2, "Shift-2"),
(0xC3, "Shift-3 / Repeat"),
(0xC4, "Shift-4 / Select"),
(0xC3, "Shift-3"), # Also: Repeat
(0xC4, "Shift-4"), # Also: Select
(0xC5, "Shift-5"),
(0xC6, "Shift-6"),
(0xC7, "Shift-7"),
Expand Down Expand Up @@ -321,6 +325,47 @@
(0x9B, "Light"),
(0x9C, "Command"),
(0x58, "Light Timeout"),
# FUNCTION codes
(0x0F, "FUNCTION_1"),
(0x10, "FUNCTION_2"),
(0x11, "FUNCTION_3"),
(0x12, "FUNCTION_4"),
(0x19, "FUNCTION_5"),
(0x1A, "FUNCTION_6"),
(0x21, "FUNCTION_7"),
(0x22, "FUNCTION_8"),
(0x23, "FUNCTION_9"),
(0x24, "FUNCTION_10"),
(0x25, "FUNCTION_11"),
(0x26, "FUNCTION_12"),
(0x27, "FUNCTION_13"),
(0x39, "FUNCTION_14"),
(0x3A, "FUNCTION_15"),
(0x3B, "FUNCTION_16"),
(0x3C, "FUNCTION_17"),
(0x3D, "FUNCTION_18"),
(0x3E, "FUNCTION_19"),
(0x4B, "FUNCTION_20"),
(0x4C, "FUNCTION_21"),
(0x50, "FUNCTION_22"),
(0x51, "FUNCTION_23"),
(0x7D, "FUNCTION_24"),
(0xA5, "FUNCTION_25"),
(0xA6, "FUNCTION_26"),
(0xA9, "FUNCTION_27"),
(0xAA, "FUNCTION_28"),
(0xDD, "FUNCTION_29"),
(0xDE, "FUNCTION_30"),
(0xE0, "FUNCTION_31"),
(0xE1, "FUNCTION_32"),
(0xE2, "FUNCTION_33"),
(0xE6, "FUNCTION_34"),
(0xE7, "FUNCTION_35"),
(0xF2, "FUNCTION_36"),
(0xF3, "FUNCTION_37"),
(0xF4, "FUNCTION_38"),
(0xF5, "FUNCTION_39"),
(0xF6, "FUNCTION_40"),
# Dummy for 'Listen for all commands'
(0xFF, "<all>"),
]
Expand Down

0 comments on commit 6243aee

Please sign in to comment.