1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-23 18:06:20 +04:00

For now, comment out the observer queues, and reduce the size of the event queues.

This commit is contained in:
Stephen Marz 2020-05-30 12:30:58 -04:00
parent 4b67823dfa
commit 9fc8a7455f

View File

@ -236,9 +236,9 @@ pub fn setup_input_device(ptr: *mut u32) -> bool {
repopulate_event(&mut dev, i); repopulate_event(&mut dev, i);
} }
INPUT_DEVICES[idx] = Some(dev); INPUT_DEVICES[idx] = Some(dev);
ABS_EVENTS = Some(VecDeque::with_capacity(1000)); ABS_EVENTS = Some(VecDeque::with_capacity(100));
// ABS_OBSERVERS = Some(VecDeque::new()); // ABS_OBSERVERS = Some(VecDeque::new());
KEY_EVENTS = Some(VecDeque::with_capacity(1000)); KEY_EVENTS = Some(VecDeque::with_capacity(10));
// KEY_OBSERVERS = Some(VecDeque::new()); // KEY_OBSERVERS = Some(VecDeque::new());
true true