I happenend to have roughly the same problem (sometimes, keypresses being repeated without reason ... and, under X11, multiple X events for single keypresses)
The thing that solved it was a simple edit of /etc/X11/xorg.conf : remove the Option "AllowEmptyInput" from ServerFlags section .. hope this helps