Skip to content

Instantly share code, notes, and snippets.

Forked from rootscript/private.xml
Last active May 26, 2020 18:28
What would you like to do?
Karabiner private.xml for non-Apple keyboard to toggle Target Display Mode
<?xml version="1.0"?>
<productname>Dell USB Keyboard</productname>
<name>Cmd + F2 for Target Display Mode (Dell)</name>
<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment