def open(self, window=None, exclusive=False):
        if self.is_open:
            raise DeviceOpenException('Device is already open.')

        self.is_open = True
Open the device to begin receiving input from it.
dataset/ETHPy150Open ardekantur/pyglet/pyglet/input/base.py/Device.open