Utilizzando KeyRemap4MacBook , puoi salvare un file come questo in ~/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>
Quindi apri l'applicazione KeyRemap4MacBook, premi il pulsante ReloadXML e attiva l'impostazione.
Rimappa solo le tastiere wireless Apple:
<?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>