mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-24 10:29:54 +00:00
17c0ca6fa4
Co-authored-by: zvecr <git@zvecr.com>
37 lines
1.0 KiB
Makefile
37 lines
1.0 KiB
Makefile
#----------------------------------------------------------------------------
|
|
# make gergo:germ:dfu
|
|
# Make sure you have dfu-programmer installed!
|
|
#----------------------------------------------------------------------------
|
|
# Firmware options
|
|
BALLER = no # Enable to ball out
|
|
BALLSTEP = 20 # Multiple in px to move, multiplied by layer number
|
|
SCROLLSTEP = 1 # Lines to scroll with ball
|
|
MOUSEKEY_ENABLE = yes # Mouse keys, needed for baller
|
|
|
|
#Debug options
|
|
VERBOSE = no
|
|
DEBUG_MATRIX_SCAN_RATE = no
|
|
DEBUG_BALLER = no
|
|
DEBUG_MATRIX = no
|
|
|
|
# A bunch of stuff that you shouldn't touch unless you
|
|
# know what you're doing.
|
|
#
|
|
# No touchy, capiche?
|
|
SRC += matrix.c i2c_master.c
|
|
ifneq ($(strip $(BALLSTEP)),)
|
|
OPT_DEFS += -DTRKSTEP=$(strip $(BALLSTEP))
|
|
endif
|
|
ifneq ($(strip $(SCROLLSTEP)),)
|
|
OPT_DEFS += -DSCROLLSTEP=$(strip $(SCROLLSTEP))
|
|
endif
|
|
ifeq ($(strip $(BALLER)), yes)
|
|
OPT_DEFS += -DBALLER
|
|
endif
|
|
ifeq ($(strip $(DEBUG_BALLER)), yes)
|
|
OPT_DEFS += -DDEBUG_BALLER
|
|
endif
|
|
ifeq ($(strip $(DEBUG_MATRIX)), yes)
|
|
OPT_DEFS += -DDEBUG_MATRIX
|
|
endif
|