Skip to content

Commit d222fdb

Browse files
tychedeliacatilac
andauthored
Add input support; extract glfw crate. (#95)
Co-authored-by: Moon Davé <moon@softmoon.world>
1 parent 0e80341 commit d222fdb

File tree

37 files changed

+1837
-241
lines changed

37 files changed

+1837
-241
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: 9 additions & 2 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,11 +53,11 @@ 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

5659
[target.'cfg(target_os = "linux")'.dev-dependencies]
57-
glfw = { version = "0.60.0", features = ["wayland"] }
60+
processing_glfw = { workspace = true, features = ["wayland"] }
5861

5962
[[example]]
6063
name = "rectangle"
@@ -121,6 +124,10 @@ path = "examples/stroke_3d.rs"
121124
name = "custom_material"
122125
path = "examples/custom_material.rs"
123126

127+
[[example]]
128+
name = "input"
129+
path = "examples/input.rs"
130+
124131
[profile.wasm-release]
125132
inherits = "release"
126133
opt-level = "z"

0 commit comments

Comments
 (0)