diff options
author | Gautham Yerroju <gautham.yerroju@gmail.com> | 2020-04-12 22:37:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 07:37:23 +0200 |
commit | 7e6b550ebff3accd41fce8ffae706626cd98f755 (patch) | |
tree | 6623f990218e8d5ff2a0e5130a8452b511e154fe /keyboards/gergo/keymaps/gotham/rules.mk | |
parent | 7f4ce4a8b72c0038a7ffce18db7f98b5219dfd2c (diff) | |
download | qmk_firmware-7e6b550ebff3accd41fce8ffae706626cd98f755.tar.gz |
Add a simple custom keymap for Gergo. (#8662)
* Add a simple custom keymap for Gergo.
* update readme, keymap cleanup
Diffstat (limited to 'keyboards/gergo/keymaps/gotham/rules.mk')
-rw-r--r-- | keyboards/gergo/keymaps/gotham/rules.mk | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/keyboards/gergo/keymaps/gotham/rules.mk b/keyboards/gergo/keymaps/gotham/rules.mk new file mode 100644 index 000000000..351c52558 --- /dev/null +++ b/keyboards/gergo/keymaps/gotham/rules.mk @@ -0,0 +1,37 @@ +#---------------------------------------------------------------------------- +# 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 + +#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? +SRC += matrix.c i2c_master.c +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 |