Exemplo n.º 1
0
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
Exemplo n.º 2
0
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
Exemplo n.º 3
0
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
Exemplo n.º 4
0
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
Exemplo n.º 5
0
def lightingNodeProDeviceUnconnected():
    device = MockHidapiDevice(vendor_id=0x1b1c,
                              product_id=0x0c0b,
                              address='addr')
    return CommanderPro(device, 'Corsair Lighting Node Pro', 0, 0, 2)
Exemplo n.º 6
0
def commanderProDeviceUnconnected():
    device = MockHidapiDevice(vendor_id=0x1b1c,
                              product_id=0x0c10,
                              address='addr')
    return CommanderPro(device, 'Corsair Commander Pro', 6, 4, 2)
Exemplo n.º 7
0
def lightingNodeProDeviceUnconnected():
    device = MockHidapiDevice(vendor_id=0x1B1C, product_id=0x0C0B, address='addr')
    return CommanderPro(device, 'Corsair Lighting Node Pro (experimental)', 0, 0, 2)
Exemplo n.º 8
0
def commanderProDeviceUnconnected():
    device = MockHidapiDevice(vendor_id=0x1B1C, product_id=0x0C10, address='addr')
    return CommanderPro(device, 'Corsair Commander Pro (experimental)', 6, 4, 2)