Skip to content

Commit 6ad893c

Browse files
committed
Add input support; extract glfw crate.
1 parent 4dedf93 commit 6ad893c

File tree

35 files changed

+1818
-238
lines changed

35 files changed

+1818
-238
lines changed

Cargo.lock

Lines changed: 22 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,16 @@ processing_core = { path = "crates/processing_core" }
3333
processing_pyo3 = { path = "crates/processing_pyo3" }
3434
processing_render = { path = "crates/processing_render" }
3535
processing_midi = { path = "crates/processing_midi" }
36+
processing_input = { path = "crates/processing_input" }
37+
processing_glfw = { path = "crates/processing_glfw" }
3638
processing_webcam = { path = "crates/processing_webcam" }
3739

3840
[dependencies]
3941
bevy = { workspace = true }
4042
processing_core = { workspace = true }
4143
processing_render = { workspace = true }
4244
processing_midi = { workspace = true }
45+
processing_input = { workspace = true }
4346
processing_webcam = { workspace = true, optional = true }
4447
tracing = "0.1"
4548
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
@@ -50,12 +53,9 @@ js-sys = "0.3"
5053
web-sys = { version = "0.3", features = ["Window"] }
5154

5255
[dev-dependencies]
53-
glfw = "0.60.0"
56+
processing_glfw = { workspace = true }
5457
rand = "0.10.0"
5558

56-
[target.'cfg(target_os = "linux")'.dev-dependencies]
57-
glfw = { version = "0.60.0", features = ["wayland"] }
58-
5959
[[example]]
6060
name = "rectangle"
6161
path = "examples/rectangle.rs"
@@ -121,6 +121,10 @@ path = "examples/stroke_3d.rs"
121121
name = "custom_material"
122122
path = "examples/custom_material.rs"
123123

124+
[[example]]
125+
name = "input"
126+
path = "examples/input.rs"
127+
124128
[profile.wasm-release]
125129
inherits = "release"
126130
opt-level = "z"

0 commit comments

Comments
 (0)