Skip to content

Commit

Permalink
Add Apple Remote V2
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrbailey committed Aug 13, 2024
1 parent b881556 commit 30ae1f9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Binary file added docs/interfaces/json-ir/apple-v2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions docs/interfaces/json-ir/apple-v2_ir.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"desc": "Apple V2 Remote Presets",
"0x77E17A12": { "label": "play","cmnt": "Play/Pause", "cmd": {"ps":"1~9~r"} },
"0x77E14012": { "label": "menu", "cmnt": "On/Off", "cmd": {"on":"t"} },
"0x77E1B012": { "label": "down", "cmnt": "Brightness -", "cmd": {"bri":"~-8"} },
"0x77E1D012": { "label": "up", "cmnt": "Brightness +", "cmd": {"bri":"~+8"} },
"0x77E11012": { "label": "left", "cmnt": "Effect -", "cmd": {"seg":{"fx":"~-"}} },
"0x77E1E012": { "label": "right", "cmnt": "Effect +", "cmd": {"seg":{"fx":"~+"}} },
"0x77E1BA12": { "label": "ok", "cmnt": "Change palette", "cmd": {"seg":{"pal":"~"}} }
}
4 changes: 4 additions & 0 deletions docs/interfaces/json-ir/json_infrared.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ When purchasing a remote, be sure that it is an infrared (IR) remote and not a r
6-key
[ir.json](6-key_ir.json)

![Apple Remote V2](apple-v2.png)
Apple Remote V2
[ir.json](apple-v2_ir.json)

### Editing ir.json
First see if a JSON file already exists for your remote. If not, see if there is a JSON file for a remote with
the same number of buttons. Often remotes with the same number of buttons have different labels but emit the
Expand Down

0 comments on commit 30ae1f9

Please sign in to comment.