Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

        def PS2Keyboard(keyboard_clock="KC", keyboard_data="KD"):
    external_ip_interface = ExternalIPInstance(
            definition=keyboardipinterface,
            input_streams=(),
            inport_mapping={
                'KC':keyboard_clock,
                'KD':keyboard_data,
            },
            outport_mapping={},
    )
    return external_ip_interface.get_output_streams()[0]
        


src/c/h/chips-HEAD/test/test_chips_ip.py   chips(Download)
 
 
s = Chip(Console(chips.ip.PS2Keyboard()))
p = Plugin()
s.write_code(p)

src/c/h/Chips-0.1.2/test/test_chips_ip.py   Chips(Download)
 
 
s = Chip(Console(chips.ip.PS2Keyboard()))
p = Plugin()
s.write_code(p)