def __init__( self, control ): ''' Emitter initialization @param control: ControlStage object, used to access data from other stages ''' Emitter.__init__( self, control ) TextEmitter.__init__( self ) # Defaults self.map_template = "templates/kiibohdKeymap.h" self.pixel_template = "templates/kiibohdPixelmap.c" self.def_template = "templates/kiibohdDefs.h" self.map_output = "generatedKeymap.h" self.pixel_output = "generatedPixelmap.c" self.def_output = "kll_defs.h" # Convenience self.capabilities = None self.capabilities_index = dict() self.use_pixel_map = False # Default to disabling PixelMap (auto-enables if needed) # Fill dictionary self.fill_dict = {}
def __init__(self, control): ''' Emitter initialization @param control: ControlStage object, used to access data from other stages ''' Emitter.__init__(self, control)
def __init__( self, control ): ''' Emitter initialization @param control: ControlStage object, used to access data from other stages ''' Emitter.__init__( self, control )
def __init__( self, control ): ''' Emitter initialization @param control: ControlStage object, used to access data from other stages ''' Emitter.__init__( self, control ) TextEmitter.__init__( self ) JsonEmitter.__init__( self ) # Defaults self.map_template = "templates/kiibohdKeymap.h" self.pixel_template = "templates/kiibohdPixelmap.c" self.def_template = "templates/kiibohdDefs.h" self.map_output = "generatedKeymap.h" self.pixel_output = "generatedPixelmap.c" self.def_output = "kll_defs.h" self.json_output = "kll.json" # Convenience self.capabilities = None self.capabilities_index = dict() self.use_pixel_map = False # Default to disabling PixelMap (auto-enables if needed) # Fill dictionary self.fill_dict = {}
def __init__(self, control): ''' Emitter initialization @param control: ControlStage object, used to access data from other stages ''' Emitter.__init__(self, control) FileEmitter.__init__(self) # Defaults self.target_dir = "generated" self.output_debug = False
def __init__( self, control ): ''' Emitter initialization @param control: ControlStage object, used to access data from other stages ''' Emitter.__init__( self, control ) FileEmitter.__init__( self ) # Defaults self.target_dir = "generated" self.output_debug = False