Karabiner config to set WASD keyboard F13 to display sleep
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>My_Keyboard_VendorID</vendorname> | |
<vendorid>0x04d9</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>My_Target_Keyboard_ProductID</productname> | |
<productid>0x0269</productid> | |
</deviceproductdef> | |
<item> | |
<name>Change F13 key to sleep</name> | |
<identifier>private.F13_hack</identifier> | |
<block> | |
<!-- change F13 key to sleep --> | |
<device_only> | |
DeviceVendor::My_Keyboard_VendorID, | |
DeviceProduct::My_Target_Keyboard_ProductID | |
</device_only> | |
<autogen>__KeyToKey__ KeyCode::F13, KeyCode::VK_CONSUMERKEY_EJECT, ModifierFlag::CONTROL_L | ModifierFlag::SHIFT_L</autogen> | |
</block> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment