Question
CSInterface.registerKeyEventsInterest
There is a function CSInterface.registerKeyEventsInterest which according to the description allows to intercept keypresses globally. The problem is that I can't figure out how to attach a listener to the passed keys and the documentation doesn't tell how to do it. Is there any example of how to use this function to intercept pressed keys?
