How samaliyan/keyswitchfix works
KeySwitchFix is a native Windows keyboard-layout repair application with offline spelling correction and typing aids. The main workflow is physical keystrokes in a target app, detection and correction by the app’s keyboard engine, then replacement text and a layout change in that app. The graph separates the Win32 runtime, language decision logic, and supporting vocabularies and personalization. README-described features are included, but implementation details beyond the sampled excerpts are not inferred; README citations mark documented relationships.
Main entry points: app.c Keyboard handling · core.c Language decisions · typing.c Typing helpers · spell.c Spelling correction
Components 14
Windows runtime
- Keyboard handling
src/app.c - Dashboard and tray
src/app.c - Layout repair
src/app.c - Typing helpers
src/typing.c - Usage statistics
src/typing.c - Setup and install
src/installer.c
Correction engine
- Language decisions
src/core.c - Spelling correction
src/spell.c
Language and personalization
- IT vocabulary
src/domain.c - Writing memory
src/memory.c - Built-in dictionaries
resources - Language packs
src/app.c
Other components
- User typing
- Target application
Connections 15
- User typing → Keyboard handling: types into
README.md - Keyboard handling → Language decisions: evaluates text
README.md - Language decisions → Built-in dictionaries: checks words
README.md - Language decisions → Language packs: uses pair data
README.md - Language decisions → IT vocabulary: checks terms
README.md - Keyboard handling → Spelling correction: checks unknown words
README.md - Spelling correction → Writing memory: uses learned words
README.md - Keyboard handling → Writing memory: learns repairs
README.md - Keyboard handling → Typing helpers: applies helpers
README.md - Typing helpers → Usage statistics: updates counts
README.md - Keyboard handling → Layout repair: requests correction
README.md - Layout repair → Target application: retypes and switches
README.md - Dashboard and tray → Keyboard handling: configures behavior
README.md - Dashboard and tray → Usage statistics: shows statistics
README.md - Setup and install → Language packs: installs bundle
README.md