Repository navigation
1.2.0
feat: Add toggle hotkey for switching between XKey and ABC input sources
Add configurable hotkey to quickly toggle between XKey and ABC/other input sources.
When pressed, the hotkey switches to XKey if currently using another source, or
switches to ABC (or first available non-XKey source) if currently using XKey.
Changes:
- InputSourceSwitcher: Add toggleXKey() with fallback logic
- Try ABC first, fall back to first non-XKey source if ABC unavailable
- Add ABC bundle ID constant
- SharedSettings: Add persistence for switchToXKeyHotkey
- New settings keys: switchToXKeyHotkeyCode, Modifiers, IsModifierOnly
- Save/load hotkey configuration to UserDefaults
- SettingsView: Add UI for configuring toggle hotkey
- HotkeyRecorderView with custom binding for optional hotkey
- Description text explaining toggle behavior
- AppDelegate: Set up global hotkey monitoring
- Monitor both global and local key events
- Check input source state before toggle for accurate logging
- DebugViewModel: Support both notification formats
- Handle object parameter (from InputSourceSwitcher)
- Handle userInfo parameter (from XKeyIM)
- Info.plist: Bump version to 1.1.5
- README: Update feature list
Fixes #issue where hotkey persistence wasn't working - root cause was missing
save/load implementation in SharedSettings.