File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ documentation = "https://docs.rs/caw_bevy"
99edition = " 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" ] }
1313caw_computer_keyboard = { version = " 0.4" , path = " ../computer-keyboard" }
1414caw_core = { version = " 0.5" , path = " ../core" }
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ impl Default for BevyInput {
2525impl 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
118118fn 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!" ) ;
You can’t perform that action at this time.
0 commit comments