code: def _find_special(self):
          
          charnames = self._get_char_names()
          for eventdir in glob.glob('/sys/class/input/event*'):
              char_name = os.path.split(eventdir)[1]
              if char_name in charnames:
                  continue
              name_file = os.path.join(eventdir, 'device', 'name')
              with open(name_file) as name_file:
                  device_name = name_file.read().strip()
                  if device_name in self.codes['specials']:
                      self._parse_device_path(
                          self.codes['specials'][device_name],
                          os.path.join('/dev/input', char_name))
docs: Look for special devices.