Fix comment in keyboard_input_event example
This commit is contained in:
parent
d488d4e308
commit
671862deda
@ -13,7 +13,7 @@ struct State {
|
|||||||
event_reader: EventReader<KeyboardInput>,
|
event_reader: EventReader<KeyboardInput>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// This system prints out all mouse events as they come in
|
/// This system prints out all keyboard events as they come in
|
||||||
fn print_keyboard_event_system(
|
fn print_keyboard_event_system(
|
||||||
mut state: ResMut<State>,
|
mut state: ResMut<State>,
|
||||||
keyboard_input_events: Res<Events<KeyboardInput>>,
|
keyboard_input_events: Res<Events<KeyboardInput>>,
|
||||||
|
Loading…
Reference in New Issue
Block a user