You can use [Karabiner](https://pqrs.org/macosx/keyremap4macbook/) (formerly KeyRemap4MacBook) to remap most keys on your keyboard. Particularly I used the option which maps the Eject button to F13 and Fn+Eject to Eject. # Important note: consider using a different key than Eject; since it sends KeyDown and KeyUp events at the same time the system will not notice you trying to hold it. Also, it does not send any event until a small delay time has passed, during which you must keep it pressed. This can be very annoying if you are a fast-typing maniac and wish to be able to hit it very quickly. However, delay time is smaller than 0.1 seconds on my keyboard, so you will hardly find it an issue ### Another useful tip It is also useful if you liked old MacBook Pro keyboards which made a distinction between Return and Enter keys (very useful with Wolfram Mathematica for example) to remap the right option key to Enter. It has loads of other options, you will surely find it suitable for your needs.