code: def _generate_game_inputs_mappings(self):
      mappings = list()
  
      for game_inputs_item in self.game_inputs:
          if (
              game_inputs_item["control_type"]
              == InputControlTypes.CONTINUOUS
          ):
              mappings.append(None)
              continue
  
          mapping = dict()
  
          for index, key in enumerate(game_inputs_item["inputs"]):
              mapping[index] = key
  
          mappings.append(mapping)
  
      return mappings
  
file_path: SerpentAI/serpent/machine_learning/reinforcement_learning/agent.py
imports: from serpent.config import config
  from serpent.analytics_client import AnalyticsClient
  from serpent.logger import Loggers
  from serpent.loggers import *
  from serpent.enums import InputControlTypes
  from serpent.utilities import SerpentError
  import os
  import json
  import time
  import random
  import numpy
label_desc: Use image node_id 6 for calling the Agent obj's underlying member method code with example usage: obj._generate_game_inputs_mappings() and returns: mappings