Skip to content

Commit 11806c0

Browse files
committed
Update bevy
1 parent 8a401f9 commit 11806c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bevy/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ documentation = "https://docs.rs/caw_bevy"
99
edition = "2024"
1010

1111
[dependencies]
12-
bevy = { version = "0.16", default-features = false, features = [ "bevy_window" ] }
12+
bevy = { version = "0.17", default-features = false, features = [ "bevy_window" ] }
1313
caw_computer_keyboard = { version = "0.4", path = "../computer-keyboard" }
1414
caw_core = { version = "0.5", path = "../core" }

bevy/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ impl Default for BevyInput {
2525
impl BevyInput {
2626
pub fn update(
2727
input: Res<BevyInput>,
28-
evr_kbd: EventReader<KeyboardInput>,
28+
evr_kbd: MessageReader<KeyboardInput>,
2929
window: Query<&Window, With<PrimaryWindow>>,
3030
) {
3131
update_input(input, evr_kbd, window);
@@ -117,7 +117,7 @@ fn update_mouse_position(
117117

118118
fn update_input(
119119
input: Res<BevyInput>,
120-
mut evr_kbd: EventReader<KeyboardInput>,
120+
mut evr_kbd: MessageReader<KeyboardInput>,
121121
window: Query<&Window, With<PrimaryWindow>>,
122122
) {
123123
let window = window.single().expect("There is more than one window!");

0 commit comments

Comments
 (0)