-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
Kanata already supports per-device rules via device-if in defcfg, and KeyPath preserves these when users write them manually in keypath.kbd. However, there's no UI for selecting which keyboard a rule applies to.
Karabiner-Elements has full UI support for this — users can target specific connected keyboards from the Devices tab. We should build equivalent UI support.
Current state
- Kanata
device-ifworks if users edit config manually kanata-users.mddocuments that device filters are preserved- No device selection in the rules UI (custom rules only support global or app-specific)
- VirtualHID exclusion is auto-generated but that's a safety mechanism, not user-facing
What's needed
- Device detection and selection UI
- Per-device rule targeting in the custom rules editor
- Config generation to emit
device-ifblocks - Update
karabiner-users.mdto move per-device targeting from Karabiner's strengths to the comparison table once shipped
References
- Karabiner device docs: https://karabiner-elements.pqrs.org/docs/manual/configuration/configure-devices/
- Kanata
device-ifsyntax: https://github.com/jtroo/kanata/blob/main/docs/config.adoc - Current mention in
Sources/KeyPathAppKit/Resources/kanata-users.md(Device Filtering section)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels