Skip to content

Commit

Permalink
Update winit
Browse files Browse the repository at this point in the history
  • Loading branch information
ogoffart committed Oct 3, 2020
1 parent fcd5d11 commit 57ccd26
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion sixtyfps_runtime/corelib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cgmath = "0.17.0"
const-field-offset = { version = "0.1", path = "../../helper_crates/const-field-offset" }
vtable = { version="0.1", path = "../../helper_crates/vtable" }
sixtyfps-corelib-macros = { version = "=0.0.1", path = "../corelib_macros" }
winit = "0.22.1"
winit = "0.23"
lyon = { version = "0.16" }
euclid = "0.22.1"
triomphe = "0.1.1"
Expand Down
12 changes: 7 additions & 5 deletions sixtyfps_runtime/corelib/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,10 @@ pub enum KeyCode {
Numpad9,
AbntC1,
AbntC2,
Add,
NumpadAdd,
Apostrophe,
Apps,
Asterisk,
At,
Ax,
Backslash,
Expand All @@ -184,8 +185,8 @@ pub enum KeyCode {
Colon,
Comma,
Convert,
Decimal,
Divide,
NumpadDecimal,
NumpadDivide,
Equals,
Grave,
Kana,
Expand All @@ -199,7 +200,7 @@ pub enum KeyCode {
MediaSelect,
MediaStop,
Minus,
Multiply,
NumpadMultiply,
Mute,
MyComputer,
NavigateForward,
Expand All @@ -212,6 +213,7 @@ pub enum KeyCode {
OEM102,
Period,
PlayPause,
Plus,
Power,
PrevTrack,
RAlt,
Expand All @@ -223,7 +225,7 @@ pub enum KeyCode {
Slash,
Sleep,
Stop,
Subtract,
NumpadSubtract,
Sysrq,
Tab,
Underline,
Expand Down
6 changes: 3 additions & 3 deletions sixtyfps_runtime/rendering_backends/gl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ smallvec = "1.4.1"
[target.'cfg(target_arch = "wasm32")'.dependencies]
web_sys = { version = "0.3", package = "web-sys", features=["console"] }
wasm-bindgen = { version = "0.2" }
winit = { version = "0.22.1", features = ["web-sys"] }
winit = { version = "0.23", features = ["web-sys"] }
glow = { version = "0.6.0", features = ["web-sys"], default-features = false }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
winit = "0.22.1"
glutin = { version = "0.24" }
winit = { version = "0.23" }
glutin = { version = "0.25" }
glow = { version = "0.6.0", default-features = false }

[target.'cfg(target_os = "macos")'.dependencies]
Expand Down

0 comments on commit 57ccd26

Please sign in to comment.