From f3918d09a811517619302594d29903d5856cc6a3 Mon Sep 17 00:00:00 2001 From: Corey Richardson Date: Tue, 21 Jul 2015 08:22:12 -0400 Subject: [PATCH] Comment about EV_REL --- src/lib.rs | 2 ++ src/tests.rs | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index d4ec131..68678b6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -852,6 +852,8 @@ impl Device { break } } + // FIXME: see if we can *not* drop EV_REL events. EV_REL doesn't have any state, so + // dropping its events isn't really helping much. if let Some(idx) = drop_from { // look for the nearest SYN_REPORT before the SYN_DROPPED, remove everything after it. let mut prev_report = 0; // (if there's no previous SYN_REPORT, then the entire vector is bogus) diff --git a/src/tests.rs b/src/tests.rs index 12a7fc1..b04a5bb 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -1 +1,2 @@ -// woo tests! +// woo tests! should really test compensate_droped... I don't even know how it's *supposed* to +// behave yet though.