Skip to content

Instantly share code, notes, and snippets.

@ciastek
Forked from quenz/private.xml
Last active October 25, 2016 01:19
Show Gist options
  • Save ciastek/22613483fa5e613ba2acaa04e6a8f742 to your computer and use it in GitHub Desktop.
Save ciastek/22613483fa5e613ba2acaa04e6a8f742 to your computer and use it in GitHub Desktop.
Steam Controller fixes, for Karabiner
<?xml version="1.0"?>
<root>
<item>
<name>Steam Controller fixes</name>
<item>
<name>Volume Up [from F17]</name>
<identifier>private.steam_controller.change_f17_to_volume_up</identifier>
<device_only>DeviceVendor::RawValue::0x28de, DeviceProduct::RawValue::0x1147</device_only>
<autogen>__KeyToKey__ KeyCode::F17, ConsumerKeyCode::VOLUME_UP</autogen>
</item>
<item>
<name>Volume Down [from F18]</name>
<identifier>private.steam_controller.change_f18_to_volume_down</identifier>
<device_only>DeviceVendor::RawValue::0x28de, DeviceProduct::RawValue::0x1147</device_only>
<autogen>__KeyToKey__ KeyCode::F18, ConsumerKeyCode::VOLUME_DOWN</autogen>
</item>
<item>
<name>Mute [from F19]</name>
<identifier>private.steam_controller.change_f19_to_volume_mute</identifier>
<device_only>DeviceVendor::RawValue::0x28de, DeviceProduct::RawValue::0x1147</device_only>
<autogen>__KeyToKey__ KeyCode::F19, ConsumerKeyCode::VOLUME_MUTE</autogen>
</item>
<item>
<name>Left Shift [from Menu Key/Application Key]</name>
<identifier>private.steam_controller.change_menu_key_to_left_shift</identifier>
<device_only>DeviceVendor::RawValue::0x28de, DeviceProduct::RawValue::0x1147</device_only>
<autogen>__KeyToKey__ KeyCode::PC_APPLICATION, KeyCode::SHIFT_L</autogen>
</item>
<item>
<name>Right Shift [from Brightness Down]</name>
<identifier>private.steam_controller.change_brightness_down_to_right_shift</identifier>
<device_only>DeviceVendor::RawValue::0x28de, DeviceProduct::RawValue::0x1147</device_only>
<autogen>__KeyToKey__ ConsumerKeyCode::BRIGHTNESS_DOWN, KeyCode::SHIFT_R</autogen>
</item>
<item>
<name>Left Control [from Numpad Equals]</name>
<identifier>private.steam_controller.change_numpad_equals_to_left_control</identifier>
<device_only>DeviceVendor::RawValue::0x28de, DeviceProduct::RawValue::0x1147</device_only>
<autogen>__KeyToKey__ KeyCode::KEYPAD_EQUAL, KeyCode::CONTROL_L</autogen>
</item>
<item>
<name>Right Control [from F16]</name>
<identifier>private.steam_controller.change_f16_to_control_right</identifier>
<device_only>DeviceVendor::RawValue::0x28de, DeviceProduct::RawValue::0x1147</device_only>
<autogen>__KeyToKey__ KeyCode::F16, KeyCode::CONTROL_R</autogen>
</item>
<item>
<name>Left Option (alt) [from § Danish Dollar]</name>
<identifier>private.steam_controller.change_danish_dollar_to_left_alt</identifier>
<device_only>DeviceVendor::RawValue::0x28de, DeviceProduct::RawValue::0x1147</device_only>
<autogen>__KeyToKey__ KeyCode::DANISH_DOLLAR, KeyCode::OPTION_L</autogen>
</item>
<item>
<name>Right Option (alt) [from F13]</name>
<identifier>private.steam_controller.change_f13_to_alt_right</identifier>
<device_only>DeviceVendor::RawValue::0x28de, DeviceProduct::RawValue::0x1147</device_only>
<autogen>__KeyToKey__ KeyCode::F13, KeyCode::OPTION_R</autogen>
</item>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment