Show HN: Keychange, macOS input source switching per keyboard, not per app

tmrmn1 pts1 comments

Keychange — one layout per keyboard

01<br>One layout per keyboard

macOS can switch input sources — its name for keyboard layouts — per app or by shortcut,<br>but never per keyboard. Keychange<br>adds the missing option: assign a layout to each keyboard, and the system follows whichever<br>one you’re typing on.

02<br>Switching becomes automatic

After launch, Keychange changes the input source for you the moment you go from one<br>keyboard to another. Set it to start at login and it’s always there.

03<br>Nothing is recorded

Keychange asks for Input Monitoring permissions so it can detect which keyboard you’re<br>typing on. It keeps nothing: what you type is never stored or sent anywhere. The code<br>is public if you want to check.

Features

Any keyboard

Don’t switch<br>U.S.<br>German<br>2-Set Korean<br>Hidden

Every keyboard, its own choice

The dropdown next to a keyboard holds:

Input sources — every layout you have enabled in System Settings. Pick the<br>one that fits your keyboard.

Don’t switch — Keychange leaves the input source as is while you type<br>on this keyboard.

Hidden — the keyboard drops out of the list, and stops switching with it.<br>For the mice and dongles that report themselves as keyboards.

Switch layout

After key press<br>Before key press

Switch early, or switch light

Keychange can switch on either side of the key event:

After key press — detection happens just after a key has been sent. Less<br>intrusive, but as a consequence the very first character will still print in the<br>old layout.

Before key press — Keychange instead intercepts the key press and changes<br>the layout on the fly, so that first character is right too.

On external layout change

Disable<br>Pause<br>Ignore<br>Reset

Out of the way, on your terms

Keychange can react to external changes. How is up to you:

Disable — off until you turn it back on.

Pause — off, then back on by itself once the input source matches your<br>keyboard again.

Ignore — your choice stands until you switch keyboards.

Reset — your choice stands until your next key press.

Also

Momentary — A second function for your modifier keys

Gives ⌃ ⌥ ⇧ ⌘ modifiers a second function. Tap for your own key, hold for the<br>modifier. Any modifier, any key.

dennistimmermann.github.io/momentary ↗

keyboard keychange layout switch input press

Related Articles