Skip to content

Unable to parse message: "PauseVideo" (unknown variant PauseVideo, expected one of PointerEvent, WheelEvent, KeyboardEvent, etc... #303

Answered by H-M-H
KarimElsayad247 asked this question in Q&A
Discussion options

You must be logged in to vote

There has not been a release in a while and you are looking at

Weylus/src/protocol.rs

Lines 15 to 25 in 00a19aa

#[derive(Serialize, Deserialize, Debug)]
pub enum MessageInbound {
PointerEvent(PointerEvent),
WheelEvent(WheelEvent),
KeyboardEvent(KeyboardEvent),
GetCapturableList,
Config(ClientConfiguration),
PauseVideo,
ResumeVideo,
ChooseCustomInputAreas,
}
which is the master as of now. But v0.11.4 differs from current master:

Weylus/src/protocol.rs

Lines 14 to 25 in 10a279b

#[derive(Serialize, Deserialize, Debug)]
pub enum MessageInbound {
PointerEvent(PointerEvent),
WheelEvent(WheelEvent),

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@KarimElsayad247
Comment options

@KarimElsayad247
Comment options

@KarimElsayad247
Comment options

@H-M-H
Comment options

Answer selected by KarimElsayad247
@H-M-H
Comment options

@KarimElsayad247
Comment options

@KarimElsayad247
Comment options

@KarimElsayad247
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants