Example #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 = {}
Example #2
0
    def __init__(self, control):
        '''
		Emitter initialization

		@param control: ControlStage object, used to access data from other stages
		'''
        Emitter.__init__(self, control)
Example #3
0
File: none.py Project: cryham/kll
	def __init__( self, control ):
		'''
		Emitter initialization

		@param control: ControlStage object, used to access data from other stages
		'''
		Emitter.__init__( self, control )
Example #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 = {}
Example #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
Example #6
0
File: kll.py Project: 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