Skip to content

Commit

Permalink
Merge pull request #14 from daystram/fix/disable-concurrent-flip
Browse files Browse the repository at this point in the history
Disable concurrent flip
  • Loading branch information
daystram authored Sep 1, 2024
2 parents 01cec53 + 789c8a1 commit 56f9a44
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@ mod kb {
matrix::{BasicVerticalSwitchMatrix, Scanner},
processor::{
events::rgb::{FrameIterator, RGBMatrix, RGBProcessor},
input::{
debounce::KeyMatrixRisingFallingDebounceProcessor,
flip::{ConcurrentFlipProcessor, Pos},
},
input::debounce::KeyMatrixRisingFallingDebounceProcessor,
mapper::{Input, Mapper},
Event, EventsProcessor, InputProcessor,
},
Expand Down Expand Up @@ -312,10 +309,9 @@ mod kb {
let input_processors: &mut [&mut dyn InputProcessor<
{ <Keyboard as KeyboardConfiguration>::KEY_MATRIX_ROW_COUNT },
{ <Keyboard as KeyboardConfiguration>::KEY_MATRIX_COL_COUNT },
>] = &mut [
&mut KeyMatrixRisingFallingDebounceProcessor::new(10.millis()),
&mut ConcurrentFlipProcessor::new(Pos { row: 2, col: 1 }, Pos { row: 2, col: 3 }),
];
>] = &mut [&mut KeyMatrixRisingFallingDebounceProcessor::new(
10.millis(),
)];
let mut mapper = Mapper::new(<Keyboard as KeyboardConfiguration>::get_input_map());
let events_processors: &mut [&mut dyn EventsProcessor<
<Keyboard as KeyboardConfiguration>::Layer,
Expand Down

0 comments on commit 56f9a44

Please sign in to comment.