gluda: add debug for mouse and keyboard events