Menu

Disabling Eject Key

SeanMon
2006-12-15
2013-01-02
  • SeanMon

    SeanMon - 2006-12-15

    My PowerBook has an eject key above the "delete" key which I frequently hit by accident.  It annoys me to no end.  Will DoubleCommand support the disabling of the eject key?

     
    • Sebastiano Vigna

      More generally, is there any way to track and modify the Eject key? I've hacked the DoubleCommand sources trying to change it in a forward-delete key, but apparently no event is sent through the event handler when the eject key is pressed. It's like it's not on the keyboard (actually, it is the eject button of the DVD, so it's there just by chance).

      Ciao,

      seba

       
    • Olivier Dony

      Olivier Dony - 2007-01-10

      You can enable debug mode in DoubleCommand, then watch system.log in Console.app and press the Eject key to see if it generates an event, and what key code is sent by the keyboard.
      If you see the codes for other keys but nothing for that Eject key, then I guess there's not much you can do from DoubleCommand's point of view, otherwise, it's as simple as with other keys.

       
      • Sebastiano Vigna

        I didn't know about that, but I tweaked the sources to get the same result. In the end: the Eject key is not a key. It is simply a button positioned on the keyboard and directly wired to the CD, but it does not generate a keyboard event. There is a possibility that it can be trapped somewhere else in the kernel (I mean, there's a trasparency appearing when you press it...), but apparently not as a standard key. Let's hope the DoubleCommand author finds a way :).

         
        • Olivier Dony

          Olivier Dony - 2007-01-10

          Duh. In the mean time there's always the option to rip out that key from the keyboard entirely, as you don't really need it ;-)

           
    • jameskachan

      jameskachan - 2007-03-06

      i hate it.

      i wish mac would enable a requirement like command + eject or something.. i hate hitting it when i dont mean to.

       

Log in to post a comment.