I'm using pygame inside Blender to get multitouch support.
Unfortunately pygame catches all keyboard input which makes it impossible to use shortcuts in Blender.
Can someone help me to unsubscribe from all keyboard events?
Thank you
You can block specific events. According to the pygame wiki, this will stop pygame from queuing those events, but I can't test if it stops pygame from requesting keyboard input.
pygame.event.set_blocked([pygame.KEYDOWN, pygame.KEYUP])
How to disable keyboard events in Pygame?