답변:
KeyRemap4MacBook을 사용하면 다음 과 같은 파일을 저장할 수 있습니다 ~/Library/Application Support/KeyRemap4MacBook/private.xml
.
<?xml version="1.0"?>
<root>
<item>
<name>custom</name>
<identifier>custom</identifier>
<autogen></autogen>
<autogen>__KeyToKey__ KeyCode::OPTION_R, KeyCode::FORWARD_DELETE</autogen>
</item>
</root>
그런 다음 KeyRemap4MacBook 응용 프로그램을 열고 ReloadXML 버튼을 누르고 설정을 활성화하십시오.
이것은 Apple Wireless Keyboard 만 다시 매핑합니다.
<?xml version="1.0"?>
<root>
<devicevendordef>
<vendorname>APPLE</vendorname>
<vendorid>0x05AC</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>WIRELESSKEYBOARD</productname>
<productid>0x0255</productid>
</deviceproductdef>
<item>
<name>custom</name>
<identifier>custom</identifier>
<device_only>DeviceVendor::APPLE, DeviceProduct::WIRELESSKEYBOARD</device_only>
<autogen>__KeyToKey__ KeyCode::OPTION_R, KeyCode::FORWARD_DELETE</autogen>
</item>
</root>