Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
rzerres
orbclient
Commits
59f8591f
Verified
Commit
59f8591f
authored
Aug 11, 2019
by
Jeremy Soller
Browse files
Fix failure to parse mouserelative event
parent
a6e24a3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Cargo.toml
View file @
59f8591f
[package]
name
=
"orbclient"
version
=
"0.3.2
6
"
version
=
"0.3.2
7
"
authors
=
[
"Jeremy Soller <jackpot51@gmail.com>"
]
description
=
"The Orbital Client Library"
documentation
=
"https://docs.rs/orbclient"
...
...
src/event.rs
View file @
59f8591f
...
...
@@ -71,6 +71,7 @@ impl Event {
EVENT_NONE
=>
EventOption
::
None
,
EVENT_KEY
=>
EventOption
::
Key
(
KeyEvent
::
from_event
(
self
)),
EVENT_MOUSE
=>
EventOption
::
Mouse
(
MouseEvent
::
from_event
(
self
)),
EVENT_MOUSE_RELATIVE
=>
EventOption
::
MouseRelative
(
MouseRelativeEvent
::
from_event
(
self
)),
EVENT_BUTTON
=>
EventOption
::
Button
(
ButtonEvent
::
from_event
(
self
)),
EVENT_SCROLL
=>
EventOption
::
Scroll
(
ScrollEvent
::
from_event
(
self
)),
EVENT_QUIT
=>
EventOption
::
Quit
(
QuitEvent
::
from_event
(
self
)),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment