aboutsummaryrefslogtreecommitdiff
path: root/keyboards/gergo/keymaps/default/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/gergo/keymaps/default/rules.mk')
-rw-r--r--keyboards/gergo/keymaps/default/rules.mk36
1 files changed, 36 insertions, 0 deletions
diff --git a/keyboards/gergo/keymaps/default/rules.mk b/keyboards/gergo/keymaps/default/rules.mk
new file mode 100644
index 000000000..2f825a766
--- /dev/null
+++ b/keyboards/gergo/keymaps/default/rules.mk
@@ -0,0 +1,36 @@
1#----------------------------------------------------------------------------
2# make gergo:germ:dfu
3# Make sure you have dfu-programmer installed!
4#----------------------------------------------------------------------------
5# Firmware options
6BALLER = yes # Enable to ball out
7BALLSTEP = 20 # Multiple in px to move, multiplied by layer number
8SCROLLSTEP = 1 # Lines to scroll with ball
9MOUSEKEY_ENABLE = yes # Mouse keys(+4700), needed for baller
10
11#Debug options
12VERBOSE = yes
13DEBUG_MATRIX_SCAN_RATE = no
14DEBUG_BALLER = no
15DEBUG_MATRIX = no
16
17# A bunch of stuff that you shouldn't touch unless you
18# know what you're doing.
19#
20# No touchy, capiche?
21SRC += matrix.c i2c_master.c
22ifneq ($(strip $(BALLSTEP)),)
23 OPT_DEFS += -DTRKSTEP=$(strip $(BALLSTEP))
24endif
25ifneq ($(strip $(SCROLLSTEP)),)
26 OPT_DEFS += -DSCROLLSTEP=$(strip $(SCROLLSTEP))
27endif
28ifeq ($(strip $(BALLER)), yes)
29 OPT_DEFS += -DBALLER
30endif
31ifeq ($(strip $(DEBUG_BALLER)), yes)
32 OPT_DEFS += -DDEBUG_BALLER
33endif
34ifeq ($(strip $(DEBUG_MATRIX)), yes)
35 OPT_DEFS += -DDEBUG_MATRIX
36endif