Skip to content

Commit

Permalink
Fix decoder names
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Young <[email protected]>
  • Loading branch information
seanyoung committed Apr 27, 2024
1 parent b10d0b1 commit 1f22487
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/keymap/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl LinuxProtocol {
const LINUX_PROTOCOLS: &[LinuxProtocol] = &[
LinuxProtocol {
name: "rc5",
decoder: "rc5",
decoder: "rc-5",
irp: Some(
"{36k,msb,889}<1,-1|-1,1>(1,~CODE:1:6,T:1,CODE:5:8,CODE:6,^114m) [CODE:0..0x1FFF,T:0..1=0]",
),
Expand All @@ -59,14 +59,14 @@ const LINUX_PROTOCOLS: &[LinuxProtocol] = &[
},
LinuxProtocol {
name: "rc5x_20",
decoder: "rc5",
decoder: "rc-5",
irp: Some("{36k,msb,889}<1,-1|-1,1>(1,~CODE:1:14,T:1,CODE:5:16,-4,CODE:6:8,CODE:6,^114m) [CODE:0..0x1fffff,T:0..1=0]"),
scancode_mask: 0x1f7f3f,
protocol_no: 3,
},
LinuxProtocol {
name: "rc5_sz",
decoder: "rc5",
decoder: "rc-5-sz",
irp: Some("{36k,msb,889}<1,-1|-1,1>(1,CODE:1:13,T:1,CODE:12,^114m) [CODE:0..0x2fff,T:0..1=0]"),
scancode_mask: 0x2fff,
protocol_no: 4,
Expand Down Expand Up @@ -143,35 +143,35 @@ const LINUX_PROTOCOLS: &[LinuxProtocol] = &[
},
LinuxProtocol {
name: "rc6_0",
decoder: "rc6",
decoder: "rc-6",
irp: Some("{36k,444,msb}<-1,1|1,-1>(6,-2,1:1,0:3,<-2,2|2,-2>(T:1),CODE:16,^107m) [CODE:0..0xffff,T@:0..1=0]"),
scancode_mask: 0xffff,
protocol_no: 15,
},
LinuxProtocol {
name: "rc6_6a_20",
decoder: "rc6",
decoder: "rc-6",
irp: Some("{36k,444,msb}<-1,1|1,-1>(6,-2,1:1,6:3,<-2,2|2,-2>(T:1),CODE:20,-100m) [CODE:0..0xfffff,T@:0..1=0]"),
scancode_mask: 0xf_ffff,
protocol_no: 16,
},
LinuxProtocol {
name: "rc6_6a_24",
decoder: "rc6",
decoder: "rc-6",
irp: Some("{36k,444,msb}<-1,1|1,-1>(6,-2,1:1,6:3,<-2,2|2,-2>(T:1),CODE:24,^105m) [CODE:0..0xffffff,T@:0..1=0]"),
scancode_mask: 0xff_ff_ff,
protocol_no: 17,
},
LinuxProtocol {
name: "rc6_6a_32",
decoder: "rc6",
decoder: "rc-6",
irp: Some("{36k,444,msb}<-1,1|1,-1>(6,-2,1:1,6:3,<-2,2|2,-2>(T:1),CODE:32,MCE=(CODE>>16)==0x800f||(CODE>>16)==0x8034||(CODE>>16)==0x8046,^105m){MCE=0}[CODE:0..0xffffffff,T@:0..1=0]"),
scancode_mask: 0xffff_ffff,
protocol_no: 18,
},
LinuxProtocol {
name: "rc6_mce",
decoder: "rc6",
decoder: "rc-6",
irp: Some("{36k,444,msb}<-1,1|1,-1>(6,-2,1:1,6:3,-2,2,CODE:16:16,T:1,CODE:15,MCE=(CODE>>16)==0x800f||(CODE>>16)==0x8034||(CODE>>16)==0x8046,^105m){MCE=1}[CODE:0..0xffffffff,T@:0..1=0]"),
scancode_mask: 0xffff_7fff,
protocol_no: 19,
Expand Down

0 comments on commit 1f22487

Please sign in to comment.