def lightingNodeCoreDevice(): device = MockHidapiDevice(vendor_id=0x1b1c, product_id=0x0c1a, address='addr') node = CommanderPro(device, 'Corsair Lighting Node Core', 0, 0, 1) runtime_storage = MockRuntimeStorage(key_prefixes=['testing']) node.connect(runtime_storage=runtime_storage) return node
def commanderProDevice(): device = MockHidapiDevice(vendor_id=0x1b1c, product_id=0x0c10, address='addr') pro = CommanderPro(device, 'Corsair Commander Pro (experimental)', 6, 4, 2) pro.connect() pro._data = MockRuntimeStorage(key_prefixes='testing') return pro
def commanderProDevice(): device = MockHidapiDevice(vendor_id=0x1b1c, product_id=0x0c10, address='addr') pro = CommanderPro(device, 'Corsair Commander Pro', 6, 4, 2) runtime_storage = MockRuntimeStorage(key_prefixes=['testing']) pro.connect(runtime_storage=runtime_storage) return pro
def lightingNodeProDevice(): device = MockHidapiDevice(vendor_id=0x1b1c, product_id=0x0c0b, address='addr') node = CommanderPro(device, 'Corsair Lighting Node Pro (experimental)', 0, 0, 2) node.connect() node._data = MockRuntimeStorage(key_prefixes='testing') return node
def lightingNodeProDeviceUnconnected(): device = MockHidapiDevice(vendor_id=0x1b1c, product_id=0x0c0b, address='addr') return CommanderPro(device, 'Corsair Lighting Node Pro', 0, 0, 2)
def commanderProDeviceUnconnected(): device = MockHidapiDevice(vendor_id=0x1b1c, product_id=0x0c10, address='addr') return CommanderPro(device, 'Corsair Commander Pro', 6, 4, 2)
def lightingNodeProDeviceUnconnected(): device = MockHidapiDevice(vendor_id=0x1B1C, product_id=0x0C0B, address='addr') return CommanderPro(device, 'Corsair Lighting Node Pro (experimental)', 0, 0, 2)
def commanderProDeviceUnconnected(): device = MockHidapiDevice(vendor_id=0x1B1C, product_id=0x0C10, address='addr') return CommanderPro(device, 'Corsair Commander Pro (experimental)', 6, 4, 2)