My purpose is to receive a special key event (e.g. key code KEY_PROG1) and notify an OSD, I would like to know how to get key event /register key event handler on Gnome Extension, thanks.
Another question, I am not familiar with gnome-shell and now I try to add some log to trace gnome-shell source code. I thought it should be an easy way to update the changed without updating the whole gnome-shell, but I didn’t find how to do it.(e.g. only modify gnome-shell/js/ui/WindowManager.js).