Custom Event not working

How are you calling these events? I know you said button press but like where is it called? And if you want you could just use “key “keyboardkey””
Like the node “key m”