KeyRemap4MacBook과 같이 private.xml을 사용합니다 .
<?xml version="1.0"?>
<root>
<devicevendordef>
<vendorname>KINESIS</vendorname>
<vendorid>0x05f3</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>ADVANTAGE</productname>
<productid>0x0007</productid>
</deviceproductdef>
<item>
<name>kinesis</name>
<identifier>private.kinesis</identifier>
<device_only>DeviceVendor::KINESIS, DeviceProduct::ADVANTAGE</device_only>
<autogen>__KeyToKey__ KeyCode::COMMAND_R, KeyCode::VK_MODIFIER_EXTRA1</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_1, ModifierFlag::EXTRA1, KeyCode::VK_CONSUMERKEY_BRIGHTNESS_DOWN</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_2, ModifierFlag::EXTRA1, KeyCode::VK_CONSUMERKEY_BRIGHTNESS_UP</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_6, ModifierFlag::EXTRA1, KeyCode::VK_CONSUMERKEY_MUSIC_PREV</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_7, ModifierFlag::EXTRA1, KeyCode::VK_CONSUMERKEY_MUSIC_PLAY</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_8, ModifierFlag::EXTRA1, KeyCode::VK_CONSUMERKEY_MUSIC_NEXT</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_9, ModifierFlag::EXTRA1, KeyCode::VK_CONSUMERKEY_VOLUME_DOWN, ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_0, ModifierFlag::EXTRA1, KeyCode::VK_CONSUMERKEY_VOLUME_UP, ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L</autogen>
</item>
</root>
나는 F 키를 사용하지 않았습니다. 키 반복이 비활성화되어 있기 때문에 보지 않고 누르기가 더 어렵습니다.
또한 예를 들어 대체 할 수 KeyCode::VK_MODIFIER_EXTRA1
와 KeyCode::COMMAND_L, ModifierFlag::CONTROL_L | ModifierFlag::CONTROL_L | ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::COMMAND_L
와 VK_EXTRA1
함께 VK_CONTROL | VK_OPTION | VK_SHIFT | VK_COMMAND
.