Comment about EV_REL

This commit is contained in:
Corey Richardson 2015-07-21 08:22:12 -04:00
parent 74479a89b5
commit f3918d09a8
2 changed files with 4 additions and 1 deletions

View file

@ -852,6 +852,8 @@ impl Device {
break 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 { if let Some(idx) = drop_from {
// look for the nearest SYN_REPORT before the SYN_DROPPED, remove everything after it. // 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) let mut prev_report = 0; // (if there's no previous SYN_REPORT, then the entire vector is bogus)

View file

@ -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.