Karabiner private.xml for non-Apple keyboard to toggle Target Display Mode
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> | |
<devicevendordef> | |
<vendorname>Dell</vendorname> | |
<vendorid>16700</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>Dell USB Keyboard</productname> | |
<productid>8195</productid> | |
</deviceproductdef> | |
<item> | |
<name>Cmd + F2 for Target Display Mode (Dell)</name> | |
<identifier>private.dell_usb_toggle_TMD</identifier> | |
<device_only>DeviceVendor::Dell, DeviceProduct::Dell USB Keyboard</device_only> | |
<!--Target Display Mode--> | |
<autogen>__KeyToKey__ KeyCode::F2, VK_COMMAND, ConsumerKeyCode::BRIGHTNESS_UP, ModifierFlag::COMMAND_L</autogen> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment