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 Jul 24, 2023
1 parent 9ef6563 commit 50287e5
Show file tree
Hide file tree
Showing 2 changed files with 217 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 @@ -34,7 +36,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 @@ -44,4 +51,6 @@ pub mod modifier_supplement;
orbital_platform
))]
pub mod run_return;

pub mod modifier_supplement;
pub mod scancode;
Loading

0 comments on commit 50287e5

Please sign in to comment.