Apple - How can I disable the eject key on my mac keyboard?

I created an app, PowerKey, that allows you to remap the Power and Eject keys on Mac keyboards.

Pick a key replacement such as Forward Delete, or use No Action to disable the key entirely.

You can also launch Apple Scripts or bash scripts via the key.

PowerKey app icon

https://github.com/pkamb/PowerKey

remap options

https://github.com/pkamb/PowerKey


I actually had Karabiner Elements working great with Sierra on my older Mac Pro - until a recent OS update. I assigned the F6 key to "eject", and that disabled the regular "eject" key. Karabiner also had a recent update (a couple days ago) that appeared to default all my keyboard mods back to standard Apple. Went back to an earlier version in backup, and it didn't fix the problem. Now, I still assign the F6 to "Eject" (and it works fine there), but the "Eject" button is no longer disabled. Did a lot of searching on the net and it seems that Apple has us on this one for now. At this point, I might try making a cover that fits over that corner, so when I accidentally hit the key, it doesn't work.

This is my lo-tech solution.enter image description here