mirror of
https://github.com/sgmarz/osblog.git
synced 2024-11-23 09:56:21 +04:00
For now, comment out the observer queues, and reduce the size of the event queues.
This commit is contained in:
parent
4b67823dfa
commit
9fc8a7455f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user