Forked from patrickwelker/evoluent-verticalmouse.xml
Created
November 12, 2019 18:43
-
-
Save moxdev/8c2ca38c1c2dfe8f2a229601ad204329 to your computer and use it in GitHub Desktop.
Karabiner Template to setup a secondary function key with the Evoluent Vertical Mouse. In this example Button 6 gets assigned the following modifiers: Shift-Right, Control-Right, Option-Right and Command-Right. Import via `<include path="YOUR-PATH-HERE/evoluent-verticalmouse.xml" />`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Evoluent VerticalMouse</name> | |
<appendix>All customizations only apply for the Evoluent VerticalMouse.</appendix> | |
<appendix>Note: button 4 (the mouse scroll button) and button 5 are swapped in Karabiner. I still use the default Evoluent labeling.</appendix> | |
<devicevendordef> | |
<vendorname>EVOLUENT</vendorname> | |
<vendorid>0x1a7c</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>VERTICALMOUSE</productname> | |
<productid>0x0191</productid> | |
</deviceproductdef> | |
<item> | |
<name>Button 6: Secondary Functions</name> | |
<appendix>Simulates the press of Shift-Right, Control-Right, Option-Right and Command-Right.</appendix> | |
<appendix>The lower button is used for the secondary functions. Holding it down while pressing any of the five buttons will trigger the assigned functions.</appendix> | |
<identifier>private.button6</identifier> | |
<device_only>DeviceVendor::EVOLUENT, DeviceProduct::VERTICALMOUSE</device_only> | |
<autogen> | |
--PointingButtonToKey-- | |
PointingButton::BUTTON6, | |
KeyCode::COMMAND_R, | |
ModifierFlag::OPTION_R | ModifierFlag::SHIFT_R | ModifierFlag::CONTROL_R | |
</autogen> | |
</item> | |
<item> | |
<name>Button 6+1</name> | |
<identifier>private.button6_and_1</identifier> | |
<device_only>DeviceVendor::EVOLUENT, DeviceProduct::VERTICALMOUSE</device_only> | |
<autogen> | |
--PointingButtonToKey-- | |
PointingButton::LEFT, | |
ModifierFlag::COMMAND_R, ModifierFlag::OPTION_R | ModifierFlag::SHIFT_R | ModifierFlag::CONTROL_R, | |
KeyCode::F2, | |
ModifierFlag::COMMAND_L | |
</autogen> | |
</item> | |
<item> | |
<name>Button 6+2</name> | |
<identifier>private.button6_and_2</identifier> | |
<device_only>DeviceVendor::EVOLUENT, DeviceProduct::VERTICALMOUSE</device_only> | |
<autogen> | |
--PointingButtonToKey-- | |
PointingButton::RIGHT, | |
ModifierFlag::COMMAND_R, ModifierFlag::OPTION_R | ModifierFlag::SHIFT_R | ModifierFlag::CONTROL_R, | |
KeyCode::F2, | |
ModifierFlag::COMMAND_L | |
</autogen> | |
</item> | |
<item> | |
<name>Button 6+3</name> | |
<identifier>private.button6_and_3</identifier> | |
<device_only>DeviceVendor::EVOLUENT, DeviceProduct::VERTICALMOUSE</device_only> | |
<autogen> | |
--PointingButtonToKey-- | |
PointingButton::MIDDLE, | |
ModifierFlag::COMMAND_R, ModifierFlag::OPTION_R | ModifierFlag::SHIFT_R | ModifierFlag::CONTROL_R, | |
KeyCode::F2, | |
ModifierFlag::COMMAND_L | |
</autogen> | |
</item> | |
<item> | |
<name>Button 6+4</name> | |
<identifier>private.button6_and_4</identifier> | |
<device_only>DeviceVendor::EVOLUENT, DeviceProduct::VERTICALMOUSE</device_only> | |
<autogen> | |
--PointingButtonToKey-- | |
PointingButton::BUTTON4, | |
ModifierFlag::COMMAND_R, ModifierFlag::OPTION_R | ModifierFlag::SHIFT_R | ModifierFlag::CONTROL_R, | |
KeyCode::F2, | |
ModifierFlag::COMMAND_L | |
</autogen> | |
</item> | |
<item> | |
<name>Button 6+5</name> | |
<identifier>private.button6_and_5</identifier> | |
<appendix>Panic mode.</appendix> | |
<device_only>DeviceVendor::EVOLUENT, DeviceProduct::VERTICALMOUSE</device_only> | |
<autogen> | |
--PointingButtonToKey-- | |
PointingButton::BUTTON5, | |
ModifierFlag::COMMAND_R, ModifierFlag::OPTION_R | ModifierFlag::SHIFT_R | ModifierFlag::CONTROL_R, | |
KeyCode::F2, | |
ModifierFlag::COMMAND_L | |
</autogen> | |
</item> | |
<item> | |
<name>Button 4: Show Mission Control</name> | |
<appendix>Triggers the shortcut Command + F3 (which is my shortcut for "Mission Control").</appendix> | |
<identifier>private.button4</identifier> | |
<device_only>DeviceVendor::EVOLUENT, DeviceProduct::VERTICALMOUSE</device_only> | |
<autogen> | |
--PointingButtonToKey-- | |
PointingButton::BUTTON5, | |
KeyCode::F3, | |
ModifierFlag::COMMAND_L | |
</autogen> | |
</item> | |
<item> | |
<name>Button 5: Show Desktop</name> | |
<appendix>Triggers the shortcut Command + F2 (which is my shortcut for "Show Desktop").</appendix> | |
<identifier>private.button5</identifier> | |
<device_only>DeviceVendor::EVOLUENT, DeviceProduct::VERTICALMOUSE</device_only> | |
<autogen> | |
--PointingButtonToKey-- | |
PointingButton::BUTTON4, | |
KeyCode::F2, | |
ModifierFlag::COMMAND_L | |
</autogen> | |
</item> | |
</name> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment