2025-12-14 21:25:52 +00:00
|
|
|
//! Platform abstraction layer
|
2025-12-13 22:22:05 +00:00
|
|
|
//!
|
2025-12-14 21:25:52 +00:00
|
|
|
//! This module provides platform-agnostic interfaces for OS/hardware interaction:
|
|
|
|
|
//! - **input**: Abstract input events (keyboard, mouse, touch, gestures)
|
|
|
|
|
//! - **desktop**: Concrete winit-based implementation for desktop platforms
|
|
|
|
|
//! - **ios**: Concrete UIKit-based implementation for iOS
|
|
|
|
|
|
|
|
|
|
pub mod input;
|
2025-12-13 22:22:05 +00:00
|
|
|
|
|
|
|
|
#[cfg(target_os = "ios")]
|
|
|
|
|
pub mod ios;
|
|
|
|
|
|
|
|
|
|
#[cfg(not(target_os = "ios"))]
|
|
|
|
|
pub mod desktop;
|