Skip to content

Dual use bind? (Mac/Windows) #269

Answered by nickcoutsos
apstone asked this question in Q&A

You must be logged in to vote

There isn't really a straightforward/automatic way. The root problem here is that USB devices (and Bluetooth, I think) have a reliable way to determine the OS of the host device.

If you want to tackle this purely on the keyboard, there's two parts:

  1. Pick one OS mapping to be your "default" and create a layer for the other that remaps the key
  2. Define a macro that activates your other profile and the additional layer, and another macro that switches back to the first profile and deactivates it.

This gets a little hairy, though, because there isn't reliable state management. There isn't a way to explicitly deactivate a particular layer. If you switch to a profile and activate a layer, and th…

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@apstone

Answer selected by apstone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants