Skip to content

Commit

Permalink
rc-mm is better expressed in period lengths
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Young <[email protected]>
  • Loading branch information
seanyoung committed Jun 14, 2024
1 parent c012708 commit 4517cb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cir/src/keymap/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,22 +211,22 @@ pub const LINUX_PROTOCOLS: &[LinuxProtocol] = &[
LinuxProtocol {
name: "rc-mm-12",
decoder: "rc-mm",
irp: Some("{36k,msb}<166.7,-277.8|166.7,-444.4|166.7,-611.1|166.7,-777.8>(416.7,-277.8,CODE:12,166.7,^27.778m)+ [CODE:0..0xfff]"),
irp: Some("{36k,1p,msb}<6,-10|6,-16|6,-22|6,-28>(15,-10,CODE:12,6,^1000)+ [CODE:0..0xfff]"),
scancode_mask: 0xfff,
protocol_no: 24,
},
LinuxProtocol {
name: "rc-mm-24",
decoder: "rc-mm",
irp: Some("{36k,msb}<166.7,-277.8|166.7,-444.4|166.7,-611.1|166.7,-777.8>(416.7,-277.8,CODE:24,166.7,^27.778m)+ [CODE:0..0xffffff]"),
irp: Some("{36k,1p,msb}<6,-10|6,-16|6,-22|6,-28>(15,-10,CODE:24,6,^1000)+ [CODE:0..0xffffff]"),
scancode_mask: 0xfff_fff,
protocol_no: 25,
},
LinuxProtocol {
name: "rc-mm-32",
decoder: "rc-mm",
// toggle?
irp: Some("{36k,msb}<166.7,-277.8|166.7,-444.4|166.7,-611.1|166.7,-777.8>(416.7,-277.8,CODE:32,166.7,^27.778m)+ [CODE:0..0xffffffff]"),
irp: Some("{36k,1p,msb}<6,-10|6,-16|6,-22|6,-28>(15,-10,CODE:32,5,^1000)+ [CODE:0..0xffffffff]"),
scancode_mask: 0xffff_ffff,
protocol_no: 26,
},
Expand Down

0 comments on commit 4517cb2

Please sign in to comment.