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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 :).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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
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.
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 :).
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 ;-)
i hate it.
i wish mac would enable a requirement like command + eject or something.. i hate hitting it when i dont mean to.