def get_devices(start=0):
    devs = []
    for d in range(start, 16):
        filename = "/dev/input/event%d" % (d,)
        if os.path.exists(filename):
            devs.append(EventDevice(filename))
    return devs
dataset/ETHPy150Open kdart/pycopia/core/pycopia/OS/Linux/Input.py/get_devices/original