code: def _find_by(self, key):
          
          by_path = glob.glob('/dev/input/by-{key}/*-event-*'.format(key=key))
          for device_path in by_path:
              self._parse_device_path(device_path)
docs: Find devices.