modify mouse & keyboard event emit in gridx doh