1 #----------------------------------------------------------------------------
3 # Make sure you have dfu-programmer installed!
4 #----------------------------------------------------------------------------
6 BALLER = yes # 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(+4700), needed for baller
13 DEBUG_MATRIX_SCAN_RATE = no
17 # A bunch of stuff that you shouldn't touch unless you
18 # know what you're doing.
21 SRC += matrix.c i2c_master.c
22 ifneq ($(strip $(BALLSTEP)),)
23 OPT_DEFS += -DTRKSTEP=$(strip $(BALLSTEP))
25 ifneq ($(strip $(SCROLLSTEP)),)
26 OPT_DEFS += -DSCROLLSTEP=$(strip $(SCROLLSTEP))
28 ifeq ($(strip $(BALLER)), yes)
31 ifeq ($(strip $(DEBUG_BALLER)), yes)
32 OPT_DEFS += -DDEBUG_BALLER
34 ifeq ($(strip $(DEBUG_MATRIX)), yes)
35 OPT_DEFS += -DDEBUG_MATRIX