The attached Keyboard Maestro macros will look for a Model 01 to appear as a USB device, switch the input language to US Qwerty (as my Model 01 uses the Dvorak mapping). When disconnected, the input language is switched to Dvorak, so my laptop and Magic keyboard use a Dvorak layout.
If not used verbatim, perhaps the macros will be helpful as a jumping off point.
Change the extension to
Keyboardio Macros.txt (3.2 KB)