switched to using evdev for mouse t,dx,dy handling