Skip to content

Commit

Permalink
Merge branch 'main' into openxr
Browse files Browse the repository at this point in the history
  • Loading branch information
kanerogers authored May 2, 2022
2 parents ae4fac5 + 8a1c037 commit d4b9b7e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Empty file added .rustfmt.toml
Empty file.
8 changes: 8 additions & 0 deletions hotham/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,14 @@ pub fn process_android_events(resumed: &mut bool, should_quit: &Arc<AtomicBool>)
}
}

if let Some(ref input_queue) = *ndk_glue::input_queue() {
while let Some(event) = input_queue.get_event() {
if let Some(event) = input_queue.pre_dispatch(event) {
input_queue.finish_event(event, false);
}
}
}

false
}

Expand Down

0 comments on commit d4b9b7e

Please sign in to comment.