aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2020-12-08 11:45:43 +0100
committerDaniel Schadt <kingdread@gmx.de>2020-12-08 11:45:43 +0100
commitdf94ea735a28f5422ab7c7b4210eb99f67ca133f (patch)
treea9a08ebe1ea1ca9c0bee638a675f953697876423 /src/event.rs
parent4425f230e7f3fae010a9316886eab7f960d3669c (diff)
downloadevtclib-df94ea735a28f5422ab7c7b4210eb99f67ca133f.tar.gz
evtclib-df94ea735a28f5422ab7c7b4210eb99f67ca133f.tar.bz2
evtclib-df94ea735a28f5422ab7c7b4210eb99f67ca133f.zip
add CBTS_BARRIERUPDATE statechange
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs
index f90ed3a..150c60b 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -390,7 +390,8 @@ impl TryFrom<&raw::CbtEvent> for Event {
| CbtStateChange::SkillInfo
| CbtStateChange::SkillTiming
| CbtStateChange::BreakbarState
- | CbtStateChange::BreakbarPercent => {
+ | CbtStateChange::BreakbarPercent
+ | CbtStateChange::BarrierUpdate => {
return Err(FromRawEventError::UnknownStateChange(
raw_event.is_statechange,
))