From 9fc8a7455fa629086eb761af59923ba6459c87df Mon Sep 17 00:00:00 2001 From: Stephen Marz Date: Sat, 30 May 2020 12:30:58 -0400 Subject: [PATCH] For now, comment out the observer queues, and reduce the size of the event queues. --- risc_v/src/input.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/risc_v/src/input.rs b/risc_v/src/input.rs index 4994aa2..5e27069 100755 --- a/risc_v/src/input.rs +++ b/risc_v/src/input.rs @@ -236,9 +236,9 @@ pub fn setup_input_device(ptr: *mut u32) -> bool { repopulate_event(&mut dev, i); } INPUT_DEVICES[idx] = Some(dev); - ABS_EVENTS = Some(VecDeque::with_capacity(1000)); + ABS_EVENTS = Some(VecDeque::with_capacity(100)); // ABS_OBSERVERS = Some(VecDeque::new()); - KEY_EVENTS = Some(VecDeque::with_capacity(1000)); + KEY_EVENTS = Some(VecDeque::with_capacity(10)); // KEY_OBSERVERS = Some(VecDeque::new()); true