@@ -0,0 +1,837 @@
+import platform%0Aimport usb.core%0Aimport usb.util%0A%0A%0Aclass MissileLauncherDriver(object):%0A    commands = %7B%0A        %22down%22: 0x01,%0A        %22up%22: 0x02,%0A        %22left%22: 0x04,%0A        %22right%22: 0x08,%0A        %22fire%22: 0x10,%0A        %22stop%22: 0x20%0A    %7D%0A%0A    def __init__(self):%0A        self.setup_device()%0A        self.device.set_configuration()%0A%0A    def setup_device(self):%0A        self.device = usb.core.find(idVendor=0x2123, idProduct=0x1010)%0A        if self.device is None:%0A            raise ValueError('Missile device not found')%0A%0A        if %22Linux%22 == platform.system():%0A            try:%0A                self.device.detach_kernel_driver(0)%0A            except Exception:%0A                pass%0A%0A    def send_cmd(self, cmd):%0A        self.device.ctrl_transfer(%0A            0x21, 0x09, 0, 0, %5B0x02, cmd, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00%5D%0A        )%0A

Add missile launcher driver