mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-18 15:43:23 +00:00
4e1c5887c5
* add docs * core changes * update keyboards to new OLED * updated users to new OLED * update layouts to new OLED * fixup docs * drashna's suggestion * fix up docs * new keyboards with oled * core split changes * remaining keyboard files * Fix The Helix keyboards oled options * reflect develop Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: mtei <2170248+mtei@users.noreply.github.com>
40 lines
1.1 KiB
Makefile
40 lines
1.1 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
|
|
OLED_ENABLE = yes
|
|
OLED_DRIVER = SSD1306
|
|
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
|