Created
August 30, 2016 00:51
-
-
Save anotheredward/9f6bb16fd207b0ed34a72d3826871292 to your computer and use it in GitHub Desktop.
Karabiner use DX footswitch for modifier keys
This file contains hidden or 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> | |
<devicevendordef> | |
<vendorname>RDING</vendorname> | |
<vendorid>0x0c45</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>FOOTSWITCH</productname> | |
<productid>0x7403</productid> | |
</deviceproductdef> | |
<item> | |
<name>Foot Pedal swap c to CMD</name> | |
<identifier>private.foot_pedal_swap_c_to_CMD</identifier> | |
<device_only>DeviceVendor::RDING, DeviceProduct::FOOTSWITCH</device_only> | |
<autogen>__KeyToKey__ KeyCode::C, KeyCode::COMMAND_L</autogen> | |
</item> | |
</root> |
Thank you! I bought it from here https://www.amazon.com/gp/product/B008YPLFF2/ but the vendorid and productid match. And by following what you did above, I've been able to map it to CONTROL_L.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For this foot pedal:
http://www.dx.com/p/usb-triple-action-foot-switch-keyboard-control-foot-pedal-56508#.V8TVRJN95TY
Can't recommend it as two of the switches are broken though :(