Exemplo n.º 1
0
	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 = {}
Exemplo n.º 2
0
    def __init__(self, control):
        '''
		Emitter initialization

		@param control: ControlStage object, used to access data from other stages
		'''
        Emitter.__init__(self, control)
Exemplo n.º 3
0
Arquivo: none.py Projeto: cryham/kll
	def __init__( self, control ):
		'''
		Emitter initialization

		@param control: ControlStage object, used to access data from other stages
		'''
		Emitter.__init__( self, control )
Exemplo n.º 4
0
	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 = {}
Exemplo n.º 5
0
    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
Exemplo n.º 6
0
Arquivo: kll.py Projeto: cryham/kll
	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