Skip to content

Commit b651d7c

Browse files
committed
Expose some fields
1 parent 1a316ac commit b651d7c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

bevy/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "caw_bevy"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
description = "Helpers for controlling a caw syntesizer from bevy"
55
license = "MIT"
66
homepage = "https://github.com/gridbugs/caw.git"

bevy/src/lib.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ use caw_core::{frame_sig_var, FrameSig, FrameSigVar};
44

55
#[derive(Resource, Clone)]
66
pub struct BevyInput {
7-
mouse_x: FrameSig<FrameSigVar<f32>>,
8-
mouse_y: FrameSig<FrameSigVar<f32>>,
9-
keyboard: Keyboard<FrameSig<FrameSigVar<bool>>>,
7+
pub mouse_x: FrameSig<FrameSigVar<f32>>,
8+
pub mouse_y: FrameSig<FrameSigVar<f32>>,
9+
pub keyboard: Keyboard<FrameSig<FrameSigVar<bool>>>,
1010
}
1111

1212
impl Default for BevyInput {
@@ -126,4 +126,3 @@ fn update_input(
126126
}
127127
update_mouse_position(window, &input.mouse_x, &input.mouse_y);
128128
}
129-

0 commit comments

Comments
 (0)