2019-04-14 20:01:52 +02:00
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
# make gergo:germ:dfu
|
|
|
|
# Make sure you have dfu-programmer installed!
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
# Firmware options
|
|
|
|
BALLER = yes # 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(+4700), needed for baller
|
|
|
|
|
|
|
|
#Debug options
|
|
|
|
VERBOSE = yes
|
|
|
|
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?
|
2023-10-13 08:25:32 +02:00
|
|
|
SRC += matrix.c
|
|
|
|
I2C_DRIVER_REQUIRED = yes
|
2019-04-14 20:01:52 +02:00
|
|
|
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
|
2019-04-30 02:29:00 +02:00
|
|
|
POINTING_DEVICE_ENABLE = yes
|
2022-02-05 15:29:15 +01:00
|
|
|
POINTING_DEVICE_DRIVER = custom
|
2019-04-14 20:01:52 +02:00
|
|
|
endif
|
|
|
|
ifeq ($(strip $(DEBUG_BALLER)), yes)
|
|
|
|
OPT_DEFS += -DDEBUG_BALLER
|
|
|
|
endif
|
|
|
|
ifeq ($(strip $(DEBUG_MATRIX)), yes)
|
|
|
|
OPT_DEFS += -DDEBUG_MATRIX
|
|
|
|
endif
|