Skip to content

Instantly share code, notes, and snippets.

@muhqu
Created September 24, 2014 08:02
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 muhqu/470385f1815ab2df7286 to your computer and use it in GitHub Desktop.
Save muhqu/470385f1815ab2df7286 to your computer and use it in GitHub Desktop.
Karabiner private.xml for Logitech Devices
<?xml version="1.0"?>
<root>
<devicevendordef>
<vendorname>LOGITECH</vendorname>
<vendorid>0x046d</vendorid>
</devicevendordef>
<item>
<name>For Logitech Devices</name>
<item>
<name>Flip Scroll Wheel Vertical for Logitech Devices</name>
<identifier>logitech.flip_scroll_wheel_vertical</identifier>
<device_only>DeviceVendor::LOGITECH</device_only>
<autogen>
__FlipScrollWheel__
Option::FLIPSCROLLWHEEL_VERTICAL
</autogen>
</item>
<item>
<name>Button 4 to F17</name>
<identifier>logitech.button_4_to_f17</identifier>
<device_only>DeviceVendor::LOGITECH</device_only>
<autogen>__KeyToKey__ PointingButton::BUTTON4, KeyCode::F17</autogen>
</item>
<item>
<name>Button 5 to F18</name>
<identifier>logitech.button_5_to_f18</identifier>
<device_only>DeviceVendor::LOGITECH</device_only>
<autogen>__KeyToKey__ PointingButton::BUTTON5, KeyCode::F18</autogen>
</item>
<item>
<name>Button 6 to F19</name>
<identifier>logitech.button_6_to_f19</identifier>
<device_only>DeviceVendor::LOGITECH</device_only>
<autogen>__KeyToKey__ PointingButton::BUTTON6, KeyCode::F19</autogen>
</item>
<item>
<name>Button 6 to Expose</name>
<identifier>logitech.button_6_to_expose</identifier>
<device_only>DeviceVendor::LOGITECH</device_only>
<autogen>__KeyToKey__ PointingButton::BUTTON6, KeyCode::EXPOSE_ALL</autogen>
</item>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment