qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

rules.mk (1153B)


      1 #----------------------------------------------------------------------------
      2 # make gergo:germ:dfu
      3 # Make sure you have dfu-programmer installed!
      4 #----------------------------------------------------------------------------
      5 # Firmware options
      6 BALLER = no 			# Enable to ball out
      7 BALLSTEP = 20  			# Multiple in px to move, multiplied by layer number
      8 SCROLLSTEP = 1 			# Lines to scroll with ball
      9 MOUSEKEY_ENABLE = yes  		# Mouse keys, needed for baller
     10 OLED_ENABLE = yes
     11 LOCAL_GLCDFONT = yes
     12 
     13 #Debug options
     14 VERBOSE 		 = yes
     15 DEBUG_MATRIX_SCAN_RATE   = no
     16 DEBUG_BALLER 		 = no
     17 DEBUG_MATRIX		 = yes
     18 
     19 # A bunch of stuff that you shouldn't touch unless you
     20 # know what you're doing.
     21 #
     22 # No touchy, capiche?
     23 ifneq ($(strip $(BALLSTEP)),)
     24     OPT_DEFS += -DTRKSTEP=$(strip $(BALLSTEP))
     25 endif
     26 ifneq ($(strip $(SCROLLSTEP)),)
     27     OPT_DEFS += -DSCROLLSTEP=$(strip $(SCROLLSTEP))
     28 endif
     29 ifeq ($(strip $(BALLER)), yes)
     30 	POINTING_DEVICE_ENABLE	= yes
     31     POINTING_DEVICE_DRIVER = custom
     32     OPT_DEFS += -DBALLER
     33 endif
     34 ifeq ($(strip $(DEBUG_BALLER)), yes)
     35     OPT_DEFS += -DDEBUG_BALLER
     36 endif
     37 ifeq ($(strip $(DEBUG_MATRIX)), yes)
     38     OPT_DEFS += -DDEBUG_MATRIX
     39 endif