code: def __init__(self):
      self.active_keys = set()
      self.recorder = None
  
      self.redis_key = self.__class__.redis_key
      self.redis_key_pause = self.__class__.redis_key_pause
      self.redis_key_stop = self.__class__.redis_key_stop
  
      redis_client.delete(self.redis_key)
      redis_client.delete(self.redis_key_pause)
      redis_client.delete(self.redis_key_stop)
  
file_path: SerpentAI/serpent/input_recorder.py
imports: import pickle
  import time
  from redis import StrictRedis
  from serpent.config import config
  from sneakysnek.recorder import Recorder
  from sneakysnek.keyboard_event import KeyboardEvent, KeyboardEvents
  from sneakysnek.mouse_event import MouseEvent
label_desc: Use image node_id 1 to create a new InputRecorder object  with example: obj = InputRecorder()