Created
March 18, 2013 04:23
-
-
Save krohrbaugh/5185083 to your computer and use it in GitHub Desktop.
My IOGEAR GCS1782 [http://www.iogear.com/product/GCS1782/] KVM's keyboard emulation prevents many media keys (e.g., volume controls, music playback controls, etc) from being recognized by Mac OS X. To get around this, I'm using KeyRemap4MacBook [http://pqrs.org/macosx/keyremap4macbook/] to remap the 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> | |
<item> | |
<name>Das Keyboard for Mac (through KVM)</name> | |
<item> | |
<name>Enable Power/Sleep Button</name> | |
<appendix>F1 to Power</appendix> | |
<appendix>Fn+F1 to F1</appendix> | |
<identifier>private.enable_power_sleep_button</identifier> | |
<autogen>__KeyToConsumer__ KeyCode::F1, ConsumerKeyCode::POWER</autogen> | |
<autogen>__KeyToKey__ KeyCode::F1, ModifierFlag::FN, KeyCode::F1</autogen> | |
</item> | |
<item> | |
<name>Enable Mission Control/Dashboard</name> | |
<appendix>F3 to Mission Control</appendix> | |
<appendix>Fn+F3 to F3</appendix> | |
<appendix>F4 to Dashboard</appendix> | |
<appendix>Fn+F4 to F4</appendix> | |
<identifier>private.enable_mission_control_dashboard</identifier> | |
<autogen>__KeyToKey__ KeyCode::F3, KeyCode::MISSION_CONTROL</autogen> | |
<autogen>__KeyToKey__ KeyCode::F3, ModifierFlag::FN, KeyCode::F3</autogen> | |
<autogen>__KeyToKey__ KeyCode::F4, KeyCode::DASHBOARD</autogen> | |
<autogen>__KeyToKey__ KeyCode::F4, ModifierFlag::FN, KeyCode::F4</autogen> | |
</item> | |
<item> | |
<name>Enable Media Controls</name> | |
<appendix>F6 to Music Prev</appendix> | |
<appendix>Fn+F6 to F6</appendix> | |
<appendix>F7 to Music Play</appendix> | |
<appendix>Fn+F7 to F7</appendix> | |
<appendix>F8 to Music Next</appendix> | |
<appendix>Fn+F8 to F8</appendix> | |
<identifier>private.enable_media_controls</identifier> | |
<autogen>__KeyToConsumer__ KeyCode::F6, ConsumerKeyCode::MUSIC_PREV</autogen> | |
<autogen>__KeyToKey__ KeyCode::F6, ModifierFlag::FN, KeyCode::F6</autogent> | |
<autogen>__KeyToConsumer__ KeyCode::F7, ConsumerKeyCode::MUSIC_PLAY</autogen> | |
<autogen>__KeyToKey__ KeyCode::F7, ModifierFlag::FN, KeyCode::F7</autogen> | |
<autogen>__KeyToConsumer__ KeyCode::F8, ConsumerKeyCode::MUSIC_NEXT</autogen> | |
<autogen>__KeyToKey__ KeyCode::F8, ModifierFlag::FN, KeyCode::F8</autogen> | |
</item> | |
<item> | |
<name>Enable Volume Controls</name> | |
<appendix>F9 to Mute</appendix> | |
<appendix>Fn+F9 to F9</appendix> | |
<appendix>F10 to Volume Down</appendix> | |
<appendix>Fn+F10 to F10</appendix> | |
<appendix>F11 to Volume Up</appendix> | |
<appendix>Fn+F11 to F11</appendix> | |
<identifier>private.enable_volume_controls</identifier> | |
<autogen>__KeyToConsumer__ KeyCode::F9, ConsumerKeyCode::VOLUME_MUTE</autogen> | |
<autogen>__KeyToKey__ KeyCode::F9, ModifierFlag::FN, KeyCode::F9</autogen> | |
<autogen>__KeyToConsumer__ KeyCode::F10, ConsumerKeyCode::VOLUME_DOWN</autogen> | |
<autogen>__KeyToKey__ KeyCode::F10, ModifierFlag::FN, KeyCode::F10</autogen> | |
<autogen>__KeyToConsumer__ KeyCode::F11, ConsumerKeyCode::VOLUME_UP</autogen> | |
<autogen>__KeyToKey__ KeyCode::F11, ModifierFlag::FN, KeyCode::F11</autogen> | |
</item> | |
<item> | |
<name>Enable Brightness Controls</name> | |
<identifier>private.enable_brightness_controls</identifier> | |
<autogen>__KeyToConsumer__ KeyCode::F14, ConsumerKeyCode::BRIGHTNESS_DOWN</autogen> | |
<autogen>__KeyToConsumer__ KeyCode::F15, ConsumerKeyCode::BRIGHTNESS_UP</autogen> | |
</item> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment