I'm trying to modify yeahconsole to show on pressing the eject key, I tried XF86XK_Eject, Eject, XK_Eject and other combinations and it does not seem to work.
here the xev output for the key code

KeyRelease event, serial 40, synthetic NO, window 0x2600001,root 0xbb, subw 0x0, time 5629995, (162,-8), root:(1183,516),state 0x0, keycode 169 (keysym 0x1008ff2c, XF86Eject), same_screen YES,XLookupString gives 0 bytes: XFilterEvent returns: Falseand heres the c code

Check Solution