Skip to content

Instantly share code, notes, and snippets.

Created October 16, 2016 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/ccb86bf199a3e584dbab6062885c6646 to your computer and use it in GitHub Desktop.
Save anonymous/ccb86bf199a3e584dbab6062885c6646 to your computer and use it in GitHub Desktop.
Karabinar settings for Bathyscaphe (Selecting board list with Up and Down)
<root>
<!-- Apps -->
<appdef>
<appname>Bathyscaphe</appname>
<equal>jp.tsawada2.BathyScaphe</equal>
</appdef>
<!-- Keymaps -->
<list>
<item>
<name>Bathyscaphe only</name>
<item>
<name>Down to Down and Shift+Tab(KeepFocus at Board List)</name>
<identifier>private.app_bathyscaphe_down_to_down_and_shift_tab_at_outline</identifier>
<only>Bathyscaphe</only>
<uielementrole_only>AXOutline</uielementrole_only>
<autogen>
__KeyToKey__
KeyCode::CURSOR_DOWN, ModifierFlag::NONE,
KeyCode::CURSOR_DOWN,
KeyCode::TAB, ModifierFlag::SHIFT_L
</autogen>
</item>
<item>
<name>Up to Up and Shift+Tab(KeepFocus at Board List)</name>
<identifier>private.app_bathyscaphe_up_to_up_and_shift_tab_at_outline</identifier>
<only>Bathyscaphe</only>
<uielementrole_only>AXOutline</uielementrole_only>
<autogen>
__KeyToKey__
KeyCode::CURSOR_UP, ModifierFlag::NONE,
KeyCode::CURSOR_UP,
KeyCode::TAB, ModifierFlag::SHIFT_L
</autogen>
</item>
<item>
<name>Option+Down to Option+Down and Shift+Tab(KeepFocus at Board List)</name>
<identifier>private.app_bathyscaphe_option_down_to_option_down_and_shift_tab_at_outline</identifier>
<only>Bathyscaphe</only>
<uielementrole_only>AXOutline</uielementrole_only>
<autogen>
__KeyToKey__
KeyCode::CURSOR_DOWN, VK_OPTION | ModifierFlag::NONE,
KeyCode::CURSOR_DOWN, VK_OPTION | ModifierFlag::NONE,
KeyCode::TAB, ModifierFlag::SHIFT_L
</autogen>
</item>
<item>
<name>Option+Up to Option+Up and Shift+Tab(KeepFocus at Board List)</name>
<identifier>private.app_bathyscaphe_option_up_to_option_up_and_shift_tab_at_outline</identifier>
<only>Bathyscaphe</only>
<uielementrole_only>AXOutline</uielementrole_only>
<autogen>
__KeyToKey__
KeyCode::CURSOR_UP, VK_OPTION | ModifierFlag::NONE,
KeyCode::CURSOR_UP, VK_OPTION | ModifierFlag::NONE,
KeyCode::TAB, ModifierFlag::SHIFT_L
</autogen>
</item>
<item>
<name>Down to Tab at TextField(KeepFocus at Board List)</name>
<identifier>private.app_bathyscaphe_down_to_tab_at_textfield</identifier>
<only>Bathyscaphe</only>
<uielementrole_only>AXTextField</uielementrole_only>
<autogen>
__KeyToKey__
KeyCode::CURSOR_DOWN, ModifierFlag::NONE,
KeyCode::TAB, ModifierFlag::NONE
</autogen>
</item>
<item>
<name>Up to Tab at TextField(KeepFocus at Board List)</name>
<identifier>private.app_bathyscaphe_up_to_tab_at_textfield</identifier>
<only>Bathyscaphe</only>
<uielementrole_only>AXTextField</uielementrole_only>
<autogen>
__KeyToKey__
KeyCode::CURSOR_UP, ModifierFlag::NONE,
KeyCode::TAB, ModifierFlag::NONE
</autogen>
</item>
<item>
<name>Option+Down to Tab at TextField(KeepFocus at Board List)</name>
<identifier>private.app_bathyscaphe_option_down_to_tab_at_textfield</identifier>
<only>Bathyscaphe</only>
<uielementrole_only>AXTextField</uielementrole_only>
<autogen>
__KeyToKey__
KeyCode::CURSOR_DOWN, VK_OPTION | ModifierFlag::NONE,
KeyCode::TAB, ModifierFlag::NONE
</autogen>
</item>
<item>
<name>Optiion+Up to Tab at TextField(KeepFocus at Board List)</name>
<identifier>private.app_bathyscaphe_option_up_to_tab_at_textfield</identifier>
<only>Bathyscaphe</only>
<uielementrole_only>AXTextField</uielementrole_only>
<autogen>
__KeyToKey__
KeyCode::CURSOR_UP, VK_OPTION | ModifierFlag::NONE,
KeyCode::TAB, ModifierFlag::NONE
</autogen>
</item>
</item>
</list>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment