// SPDX-License-Identifier: GPL-3.0-or-later use molotov_core::input::manager::InputManager; #[test] fn test_input_manager_coordination() { let mut input = InputManager::new(); assert!(!input.ime.is_active()); // Game requests text entry input.ime.start_text_input(Default::default()); assert!(input.ime.is_active()); // Game dispatches haptics input.haptics.rumble(0, 0.8, 0.8, 100); assert_eq!(input.haptics.get_state(0).unwrap().duration_ms, 100); }