Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .devin/skills/ios-simulator-input/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ Modifiers are ordinary key events held around the target key, so shifted
characters are Shift-down, key-down, key-up, Shift-up. There is no shift flag
on the Indigo message.

The character-to-key table lives in `accessibility-serve/src/keymap.rs` and is
US-ASCII only; unmappable characters fail the whole string rather than typing
The character-to-key table lives in
`accessibility-core/src/platform/ios_simulator/keymap.rs` and is US-ASCII only;
unmappable characters fail the whole string rather than typing
a subtly wrong one.

On Xcode 27 / CoreSimulator 1155.4+ an active `dtuhidd` silently disables
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/accessibility-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ viuer.workspace = true
[target.'cfg(target_os = "macos")'.dependencies]
accessibility-ios-sys.workspace = true
accessibility-macos-sys.workspace = true
tracing.workspace = true

[target.'cfg(target_os = "windows")'.dependencies]
accessibility-windows-sys.workspace = true
Expand Down
17 changes: 16 additions & 1 deletion packages/accessibility-core/src/platform/ios_simulator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,22 @@ use crate::video::{
Tuning, VideoCapture, VideoConfig,
};

pub use sys::{ButtonDirection, HardwareButton};
pub mod ax;
pub mod coverage;
pub mod input;
pub mod keymap;
pub mod session;
pub mod settings;

pub use ax::{AxCommand, AxSnapshot, Discovery, ElementDetail, NormalizedRect, spawn_ax_worker};
pub use input::{
HOME_INDICATOR_BAND, HardwareButton as InputHardwareButton, InputCommand, Orientation,
TouchEdge, TouchPhase, spawn_input_worker,
};
pub use keymap::{KeyStroke, keystroke_for, keystrokes_for};
pub use session::{DeviceInfo, SimSession, StatsReport, StreamStats};
pub use settings::{Setting, SettingKey};
pub use sys::{BootedSimulator, ButtonDirection, HardwareButton, booted_simulators};

/// Load all required private frameworks.
pub fn load_frameworks() -> Result<()> {
Expand Down
Loading
Loading