Skip to content

Commit

Permalink
Android: Implement EventLoopExtPumpEvents and EventLoopExtRunOnDemand
Browse files Browse the repository at this point in the history
  • Loading branch information
rib committed Jun 26, 2023
1 parent 8e848fb commit 20bfa4e
Show file tree
Hide file tree
Showing 2 changed files with 216 additions and 150 deletions.
13 changes: 11 additions & 2 deletions src/platform/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
//! - `windows`
//! - `web`
//!
//! And the following platform-specific module:
//! And the following platform-specific modules:
//!
//! - `run_ondemand` (available on `android`)
//! - `pump_events` (available on `android`)
//! - `run_return` (available on `windows`, `unix`, `macos`, and `android`)
//!
//! However only the module corresponding to the platform you're compiling to will be available.
Expand All @@ -32,7 +34,12 @@ pub mod windows;
#[cfg(x11_platform)]
pub mod x11;

pub mod modifier_supplement;
#[cfg(any(android_platform))]
pub mod run_ondemand;

#[cfg(any(android_platform,))]
pub mod pump_events;

#[cfg(any(
windows_platform,
macos_platform,
Expand All @@ -42,4 +49,6 @@ pub mod modifier_supplement;
orbital_platform
))]
pub mod run_return;

pub mod modifier_supplement;
pub mod scancode;
Loading

0 comments on commit 20bfa4e

Please sign in to comment.