PAD solver and usb mouse control