Skip to content

Instantly share code, notes, and snippets.

@maplebed
Created January 11, 2016 19:19
Show Gist options
  • Select an option

  • Save maplebed/c808fb54fadb47a66e9c to your computer and use it in GitHub Desktop.

Select an option

Save maplebed/c808fb54fadb47a66e9c to your computer and use it in GitHub Desktop.
<!-- Keyboard Layout Switching with F-keys -->
<item>
<name>F7 Qwerty to Dvorak</name>
<identifier>private.f7_qwerty_to_dvorak</identifier>
<autogen>__KeyToKey__
KeyCode::F7,
KeyCode::VK_OPEN_URL_APP_Karabiner_Profile0
</autogen>
</item>
<item>
<name>F8 Dvorak to Qwerty</name>
<identifier>private.f8_dvorak_to_qwerty</identifier>
<autogen>__KeyToKey__
KeyCode::F8,
KeyCode::VK_OPEN_URL_APP_Karabiner_Profile1
</autogen>
</item>
<!-- Keyboard Layout Switching with single key -->
<item>
<name>i Qwerty to Dvorak</name>
<identifier>private.i_qwerty_to_dvorak</identifier>
<autogen>__KeyToKey__
KeyCode::I,
KeyCode::VK_OPEN_URL_APP_Karabiner_Profile0
</autogen>
</item>
<item>
<name>c Dvorak to Qwerty</name>
<identifier>private.c_dvorak_to_qwerty</identifier>
<autogen>__KeyToKey__
KeyCode::C,
KeyCode::VK_OPEN_URL_APP_Karabiner_Profile1
</autogen>
</item>
<!-- Keyboard Layout Switching 2-key rollover -->
<item>
<name>2-key Switch to Dvorak</name>
<identifier>private.2qwerty_to_dvorak</identifier>
<autogen>
__SimultaneousKeyPresses__
KeyCode::A, KeyCode::S,
KeyCode::VK_OPEN_URL_APP_Karabiner_Profile0
</autogen>
</item>
<item>
<name>2-key Switch to Qwerty</name>
<identifier>private.2dvorak_to_qwerty</identifier>
<autogen>
__SimultaneousKeyPresses__
KeyCode::A, KeyCode::O,
KeyCode::VK_OPEN_URL_APP_Karabiner_Profile1
</autogen>
</item>
<!-- Keyboard Layout Switching 4-key rollover -->
<item>
<name>4-key Switch to Dvorak</name>
<identifier>private.4qwerty_to_dvorak</identifier>
<autogen>
__SimultaneousKeyPresses__
@begin
KeyCode::D, KeyCode::F, KeyCode::G, KeyCode::H,
@end
KeyCode::VK_OPEN_URL_APP_Karabiner_Profile0
</autogen>
</item>
<item>
<name>4-key Switch to Qwerty</name>
<identifier>private.4dvorak_to_qwerty</identifier>
<autogen>
__SimultaneousKeyPresses__
@begin
KeyCode::E, KeyCode::U, KeyCode::I, KeyCode::D,
@end
KeyCode::VK_OPEN_URL_APP_Karabiner_Profile1
</autogen>
</item>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment