summaryrefslogtreecommitdiff
path: root/keyboards/gergo/keymaps/oled/rules.mk
diff options
context:
space:
mode:
authorJeremy Bernhardt <bernhardtjeremy@gmail.com>2019-08-06 11:20:48 -0600
committerDrashna Jaelre <drashna@live.com>2019-08-06 10:20:48 -0700
commit07bdc8f4b7268f69a789bfe7656e8384bfcfed57 (patch)
tree50110933438d9fc4b928f9d6e225f8a8e397af8f /keyboards/gergo/keymaps/oled/rules.mk
parentae934c389e755ae780eb6e385f55b687581c5db4 (diff)
downloadqmk_firmware-07bdc8f4b7268f69a789bfe7656e8384bfcfed57.tar.gz
qmk_firmware-07bdc8f4b7268f69a789bfe7656e8384bfcfed57.zip
[Keyboard] Added little fixes and bootmagic for gBoard keebs (#6477)
* Added little fixes and bootmagic * Update keyboards/gergo/keymaps/oled/rules.mk Co-Authored-By: Drashna Jaelre <drashna@live.com> * whacked out quantum_libs
Diffstat (limited to 'keyboards/gergo/keymaps/oled/rules.mk')
-rw-r--r--keyboards/gergo/keymaps/oled/rules.mk38
1 files changed, 38 insertions, 0 deletions
diff --git a/keyboards/gergo/keymaps/oled/rules.mk b/keyboards/gergo/keymaps/oled/rules.mk
new file mode 100644
index 0000000000..fae936effb
--- /dev/null
+++ b/keyboards/gergo/keymaps/oled/rules.mk
@@ -0,0 +1,38 @@
+#----------------------------------------------------------------------------
+# 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(+4700), needed for baller
+OLED_DRIVER_ENABLE = yes
+LOCAL_GLCDFONT = yes
+
+#Debug options
+VERBOSE = yes
+DEBUG_MATRIX_SCAN_RATE = no
+DEBUG_BALLER = no
+DEBUG_MATRIX = yes
+
+# A bunch of stuff that you shouldn't touch unless you
+# know what you're doing.
+#
+# No touchy, capiche?
+ifneq ($(strip $(BALLSTEP)),)
+ OPT_DEFS += -DTRKSTEP=$(strip $(BALLSTEP))
+endif
+ifneq ($(strip $(SCROLLSTEP)),)
+ OPT_DEFS += -DSCROLLSTEP=$(strip $(SCROLLSTEP))
+endif
+ifeq ($(strip $(BALLER)), yes)
+ POINTING_DEVICE_ENABLE = 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