Skip to content

Commit

Permalink
Improve the formatting of cir test
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Young <[email protected]>
  • Loading branch information
seanyoung committed May 11, 2024
1 parent 7b5bdbf commit 559b917
Show file tree
Hide file tree
Showing 4 changed files with 188 additions and 136 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ toml = "0.8"
itertools = "0.12"
evdev = { git = "https://github.com/emberian/evdev" }
nix = { version = "0.28", features = [ "fs", "ioctl", "poll" ] }
humantime = "2.1"
bitflags = "2.5"
num-integer = "0.1"
terminal_size = "0.3"
Expand Down
1 change: 0 additions & 1 deletion TODO
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Necessary:
- calculate maximum length for timeout
- calculate minimum $extent for avoiding runtime calcs
- lead in gap (or whatever irptransmogrifier calls it)
- Formatting of ir receive is poor/broken
- DFA edges can be overlapping - removing overlapping parts
- keymap needs aeps/eps/ignore_mask/gap?
- lircd decoding toggle_bit_mask with more than 1 bit not supported
Expand Down
4 changes: 4 additions & 0 deletions src/bin/cir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,10 @@ struct Test {
/// Stop receiving after first timeout message
#[arg(long = "one-shot", short = '1')]
one_shot: bool,

/// Only print raw IR
#[arg(long = "raw", short = 'r')]
raw: bool,
}

#[cfg(target_os = "linux")]
Expand Down
Loading

0 comments on commit 559b917

Please sign in to comment.