Skip to content

feat(app): add the input and keyboard submenus - #58

Merged
Mastersam07 merged 1 commit into
devfrom
feat/io-keyboard-menu
Sep 24, 2026
Merged

Mastersam07 merged 1 commit into
devfrom
feat/io-keyboard-menu

Conversation

@Mastersam07

@Mastersam07 Mastersam07 commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner

What: I/O gains Input and Keyboard.

  • Send Keyboard Input to Device (⌥⌘K) needs no API at all: a flag on our own screen view that stops keyDown forwarding, which is exactly what the prior art does.
  • Connect Hardware Keyboard (⇧⌘K) is -[SimDevice setHardwareKeyboardEnabled:keyboardType:error:], with the byte from IndigoHIDGetKeyboardType. Both confirmed present on Xcode 27 by nm before a line was written, and checked with respondsToSelector: at the call.
  • Use the Same Keyboard Language as macOS is -[SimDevice setKeyboardLanguage:error:], found by dumping the class's method list. It reads the Mac's current keyboard input source through TISCopyCurrentKeyboardInputSource rather than the locale, because someone typing on a French keyboard in a British locale wants the guest set to French.

Three of the four rows have a real path, each confirmed on this Xcode before use. The fourth has none, and the evidence for that is recorded.
@Mastersam07
Mastersam07 merged commit 1916ac5 into dev Sep 24, 2026
2 checks passed
@Mastersam07
Mastersam07 deleted the feat/io-keyboard-menu branch September 24, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant