Implemented mouse device.