mirror of
https://github.com/sgmarz/osblog.git
synced 2024-11-23 18:06:20 +04:00
Move down to a reasonable capacity.
This commit is contained in:
parent
f2079c2cda
commit
70461adfbd
@ -236,7 +236,7 @@ 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(100000));
|
||||
ABS_EVENTS = Some(VecDeque::with_capacity(1000));
|
||||
// ABS_OBSERVERS = Some(VecDeque::new());
|
||||
KEY_EVENTS = Some(VecDeque::with_capacity(1000));
|
||||
// KEY_OBSERVERS = Some(VecDeque::new());
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <input-event-codes.h>
|
||||
|
||||
|
||||
#define MAX_EVENTS 100000
|
||||
#define MAX_EVENTS 100
|
||||
#define cos(x) table_cos(x)
|
||||
// #define cos(x) taylor_cos(x)
|
||||
#define min(x, y) ((x < y) ? x : y)
|
||||
|
Loading…
Reference in New Issue
Block a user