Different config with different keyboards for macOS #1811
Replies: 1 comment
-
|
I was looking for something like this as well. I'm trying to switch from Karabiner to Kanata, because I work across Mac, Windows, and Linux, and I want to have a consistent cross-platform configuration. Karabiner lets you define mappings per device by specify a usb vendor id and product id, and I'm hoping something similar to can be done for Kanata. Since I mainly use a Mac Laptop, I chose to keep that particular layout ( lctl, lalt, lmet ) so that it matches the laptop when I travel. At home, my external, mechanical keyboards are (lctl, lmet, lalt). I would like to define a custom defsrc when my laptop is connected to these keyboards, so that I can map them to my preferred configuration. Karabiner Example: I could imagine something similar to platform(), but for usb devices: And that should ensure my external keyboards (using a windows layout) would map the same. I'm a Python programmer, and I haven't had a chance to work with Rust yet, but I might attempt a go at it sometime. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I frequently switch between using my Macbook's internal keyboard and an external Microsoft keyboard. My config for the two are almost entirely the same, except I swap Command <> Option for the MS keyboard. Currently, I have to separate config files, and I manually swap from the terminal every time I switch between them...
I found this discussion, which talks about the
linux-devoption on Linux: #1629Are there any counterparts for Mac? Are there any other directions?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions