Hello, I want to use z key with scroll mouse wheel to act something, but they are only available in deferent events. I think i have to use return True to consume the event, but how can i use it from other events to access that, I don't find any informations about that. Can you provide some simple example? Please help
I found a solution: create a class variable, which will be true if z key is press and isKeyDown(), and so that variable will be accessible in onMouseEvent() and everywhere